summaryrefslogtreecommitdiff
path: root/library
Side-by-side diff
Diffstat (limited to 'library') (more/less context) (ignore whitespace changes)
-rw-r--r--library/qpeapplication.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/library/qpeapplication.cpp b/library/qpeapplication.cpp
index 5e88086..3b6a987 100644
--- a/library/qpeapplication.cpp
+++ b/library/qpeapplication.cpp
@@ -1298,2 +1298,3 @@ void QPEApplication::setCurrentMode( int x, int y, int depth )
if ( qApp->type() == GuiServer ) {
+#if QT_VERSION > 236
// Reconfigure the GuiServer
@@ -1301,3 +1302,3 @@ void QPEApplication::setCurrentMode( int x, int y, int depth )
qwsServer->endDisplayReconfigure();
-
+#endif
// Get all the running apps to reset