Switch sqlite db to WAL mode

This commit is contained in:
2024-05-23 18:08:09 +02:00
parent 1e06ec5d69
commit 6640504b49
2 changed files with 15 additions and 0 deletions

View File

@@ -630,6 +630,8 @@ void MainWindow::saveSettings()
"Failed to remove old database. Settings not saved.");
return;
}
QFile::remove(Common::databasePath() + "-shm");
QFile::remove(Common::databasePath() + "-wal");
}
QSettings settings;