Skip to content
GitLab
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
847c1dbe
Commit
847c1dbe
authored
Oct 14, 2020
by
Ivan Čukić
👁
Browse files
Fix a dangling reference to the list of database files
CCBUG: 427650
parent
af27565f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/service/plugins/sqlite/Database.cpp
View file @
847c1dbe
...
...
@@ -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
QString
List
databaseFiles
{
"database"
,
"database-wal"
,
"database-shm"
};
static
const
std
::
array
<
QString
,
3
>
databaseFiles
{
"database"
,
"database-wal"
,
"database-shm"
};
{
QDir
dir
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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