Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
Activity manager service
Commits
590778d6
Commit
590778d6
authored
Oct 14, 2020
by
Ivan Čukić
👁
Browse files
Fix a dangling reference to the list of database files
CCBUG: 427650
parent
fdfba69d
Changes
1
Show whitespace changes
Inline
Side-by-side
src/service/plugins/sqlite/Database.cpp
View file @
590778d6
...
...
@@ -39,6 +39,7 @@
// System
#include <cmath>
#include <memory>
#include <array>
// Local
#include "DebugResources.h"
...
...
@@ -104,7 +105,7 @@ void ResourcesDatabaseInitializer::initDatabase(bool retryOnFail)
=
QStandardPaths
::
writableLocation
(
QStandardPaths
::
GenericDataLocation
)
+
QStringLiteral
(
"/kactivitymanagerd/resources/working-backup/"
);
const
QString
List
databaseFiles
{
"database"
,
"database-wal"
,
"database-shm"
};
static
const
std
::
array
<
QString
,
3
>
databaseFiles
{
"database"
,
"database-wal"
,
"database-shm"
};
{
QDir
dir
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment