summaryrefslogtreecommitdiff
path: root/library/qpeapplication.cpp
Side-by-side diff
Diffstat (limited to 'library/qpeapplication.cpp') (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
@@ -1296,10 +1296,11 @@ void QPEApplication::setCurrentMode( int x, int y, int depth )
qt_screen->setMode(x, y, 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()" );
}