Parcourir la source

Update database.cpp

Felix Turowsky il y a 2 ans
Parent
commit
9e70d47627
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/database/database.cpp

+ 1 - 1
src/database/database.cpp

@@ -614,7 +614,7 @@ bool Database::restoreBackup(const QString& backup_file)
 
     if (!backup.copy(default_loc))
     {
-        LOG << backup.errorString() << "Could not copy" << backup.fileName() << "to" << databaseFile;
+        LOG << backup.errorString() << "Could not copy" << backup.fileName() << "to" << databaseFile.absoluteFilePath();
         // try to restore previously used db
         current_db.rename(default_loc);
         return false;