summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorcon <qtc-committer@nokia.com>2011-04-18 10:38:54 (GMT)
committercon <qtc-committer@nokia.com>2011-04-18 10:45:53 (GMT)
commitc4ae6d8464b9839729744e2710869947c0ec7bd0 (patch)
tree3a6f537525def9b839ad8b3ca2c690458b066f36 /src
parent5769a3bf3c14b08e83ee785a7877be0fd6a37376 (diff)
downloadQt-c4ae6d8464b9839729744e2710869947c0ec7bd0.zip
Qt-c4ae6d8464b9839729744e2710869947c0ec7bd0.tar.gz
Qt-c4ae6d8464b9839729744e2710869947c0ec7bd0.tar.bz2
Fix build for Apple gcc
Reviewed-by: Paul Olav Tvete
Diffstat (limited to 'src')
-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;