summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/gui/kernel/qsessionmanager_qpa.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qsessionmanager_qpa.cpp b/src/gui/kernel/qsessionmanager_qpa.cpp
index e28ac1e..ef532d7 100644
--- a/src/gui/kernel/qsessionmanager_qpa.cpp
+++ b/src/gui/kernel/qsessionmanager_qpa.cpp
@@ -67,7 +67,7 @@ QSessionManagerPrivate::QSessionManagerPrivate(QSessionManager*,
}
QSessionManager::QSessionManager(QApplication *app, QString &id, QString &key)
- : QObject(*new QSessionManagerPrivate(this, id, key), app)
+ : QObject(*(new QSessionManagerPrivate(this, id, key)), app)
{
Q_D(QSessionManager);
d->restartHint = RestartIfRunning;