Fix database save calls in CLI due to backup path

This commit is contained in:
Jonathan White committed 2021-11-07 17:52:23 -05:00
1 parent 84ff6a13f9
commit 6f5bbf7ad1
12 files changed
+13 -13

No files matched your search

+1 -1
View File
@@ -75,7 +75,7 @@ int Import::execute(const QStringList& arguments)
return EXIT_FAILURE;
}
if (!db->saveAs(dbPath, Database::Atomic, QString(), &errorMessage)) {
if (!db->saveAs(dbPath, Database::Atomic, {}, &errorMessage)) {
err << QObject::tr("Failed to save the database: %1.").arg(errorMessage) << endl;
return EXIT_FAILURE;
}