summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorcon <qtc-committer@nokia.com>2011-04-18 14:12:15 (GMT)
committercon <qtc-committer@nokia.com>2011-04-18 14:16:43 (GMT)
commit13190f3a8593b1b255929ebc52c9ad95a21b4669 (patch)
tree5b53d04806a6af0ac57af379834bdd1dd3c576c1 /src/gui
parent62e87f8597f6c1c7622125a26747636d61a6c7ed (diff)
downloadQt-13190f3a8593b1b255929ebc52c9ad95a21b4669.zip
Qt-13190f3a8593b1b255929ebc52c9ad95a21b4669.tar.gz
Qt-13190f3a8593b1b255929ebc52c9ad95a21b4669.tar.bz2
Compile fix for QPA's session manager.
Include QApplication, so the compiler definitely knows that it's a QObject. Reviewed-by: Paul Olav Tvete
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/kernel/qsessionmanager_qpa.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/kernel/qsessionmanager_qpa.cpp b/src/gui/kernel/qsessionmanager_qpa.cpp
index ef532d7..68685b4 100644
--- a/src/gui/kernel/qsessionmanager_qpa.cpp
+++ b/src/gui/kernel/qsessionmanager_qpa.cpp
@@ -42,6 +42,8 @@
#include <qsessionmanager.h>
#include <private/qobject_p.h>
+#include <qapplication.h>
+
#ifndef QT_NO_SESSIONMANAGER
QT_BEGIN_NAMESPACE