summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (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
@@ -1297,8 +1297,9 @@ void QPEApplication::setCurrentMode( int x, int y, int depth )
if ( qApp->type() == GuiServer ) {
+#if QT_VERSION > 236
// Reconfigure the GuiServer
qwsServer->beginDisplayReconfigure();
qwsServer->endDisplayReconfigure();
-
+#endif
// Get all the running apps to reset
QCopEnvelope env( "QPE/System", "reset()" );