summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Hartmetz <[email protected]>2018-09-27 19:59:56 +0200
committerAndreas Hartmetz <[email protected]>2018-09-27 20:00:50 +0200
commitcb52b2badb4c9bbe9485b475190166f954fda1ac (patch)
treec1847b74f4508e9ca9db3286627a37344d17c301
parentb39d9ede8debc94bce16f11a9c50aedbbf80a445 (diff)
Fix another auto QStringBuilder crash (access to destroyed temporary)
-rw-r--r--imports/activitymanager/sortedactivitiesmodel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/imports/activitymanager/sortedactivitiesmodel.cpp b/imports/activitymanager/sortedactivitiesmodel.cpp
index 5ab6bea..6d4a1de 100644
--- a/imports/activitymanager/sortedactivitiesmodel.cpp
+++ b/imports/activitymanager/sortedactivitiesmodel.cpp
@@ -52,7 +52,7 @@ namespace {
{
using namespace std::placeholders;
- const auto configFile = QStandardPaths::writableLocation(
+ const QString configFile = QStandardPaths::writableLocation(
QStandardPaths::GenericConfigLocation) +
QLatin1Char('/') + PLASMACONFIG;