Commit 847c1dbe authored by Ivan Čukić's avatar Ivan Čukić 👁

Fix a dangling reference to the list of database files

CCBUG: 427650
parent af27565f
......@@ -26,6 +26,7 @@
// System
#include <cmath>
#include <memory>
#include <array>
// Local
#include "DebugResources.h"
......@@ -91,7 +92,7 @@ void ResourcesDatabaseInitializer::initDatabase(bool retryOnFail)
= QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation)
+ QStringLiteral("/kactivitymanagerd/resources/working-backup/");
const QStringList databaseFiles{"database", "database-wal", "database-shm"};
static const std::array<QString, 3> databaseFiles{"database", "database-wal", "database-shm"};
{
QDir dir;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment