Introduce FileSaverOptions to consolidate common parameters

This commit is contained in:
2023-01-08 17:37:28 +01:00
父節點 efca45b88a
當前提交 4b1522b82a
共有 11 個文件被更改,包括 77 次插入53 次删除

查看文件

@@ -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);