Introduce FileSaverOptions to consolidate common parameters

This commit is contained in:
2023-01-08 17:37:28 +01:00
parent efca45b88a
commit 4b1522b82a
11 changed files with 77 additions and 53 deletions

View File

@ -264,8 +264,11 @@ void MainWindow::startIndexSync()
progressDialog.setValue(0);
progressDialog.open();
indexSyncer->setKeepGoing(true);
indexSyncer->setVerbose(false);
FileSaverOptions options;
options.keepGoing = true;
options.verbose = false;
indexSyncer->setFileSaverOptions(options);
indexSyncer->setDryRun(false);
indexSyncer->setRemoveDeletedFromIndex(true);