Fix database save calls in CLI due to backup path

This commit is contained in:
Jonathan White 2021-11-07 17:52:23 -05:00
parent 84ff6a13f9
commit 6f5bbf7ad1
No known key found for this signature in database
GPG key ID: 440FC65F2E0C6E01
12 changed files with 13 additions and 13 deletions

View file

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