From c4ae6d8464b9839729744e2710869947c0ec7bd0 Mon Sep 17 00:00:00 2001 From: con Date: Mon, 18 Apr 2011 12:38:54 +0200 Subject: Fix build for Apple gcc Reviewed-by: Paul Olav Tvete --- src/gui/kernel/qsessionmanager_qpa.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v0.12