summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qapplication.cpp
diff options
context:
space:
mode:
authorJeremy Katz <jeremy.katz@nokia.com>2010-06-01 13:34:52 (GMT)
committerJeremy Katz <jeremy.katz@nokia.com>2010-06-01 13:34:52 (GMT)
commite17ada56a676c7d87c0803cdc8367065e7aaa317 (patch)
tree351104754b5263ad4c26835ed69c19e4236b6d93 /src/gui/kernel/qapplication.cpp
parentf3a920be362b85d248a9b76c1b15a0b096d7c90e (diff)
downloadQt-e17ada56a676c7d87c0803cdc8367065e7aaa317.zip
Qt-e17ada56a676c7d87c0803cdc8367065e7aaa317.tar.gz
Qt-e17ada56a676c7d87c0803cdc8367065e7aaa317.tar.bz2
make reporting screen size/count changes safe before QApplication constructor
Diffstat (limited to 'src/gui/kernel/qapplication.cpp')
-rw-r--r--src/gui/kernel/qapplication.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/kernel/qapplication.cpp b/src/gui/kernel/qapplication.cpp
index 5b294cc..6dbb7f2 100644
--- a/src/gui/kernel/qapplication.cpp
+++ b/src/gui/kernel/qapplication.cpp
@@ -812,6 +812,9 @@ void QApplicationPrivate::construct(
if (qt_is_gui_used)
qt_guiPlatformPlugin();
#endif
+#ifdef Q_WS_LITE
+ QApplicationPrivate::qapp_constructed = true;
+#endif
}
#if defined(Q_WS_X11)