From b7a2238dad7f8f44c3354168d8e2685705616c78 Mon Sep 17 00:00:00 2001 From: simon Date: Wed, 26 Mar 2003 09:38:07 +0000 Subject: - in the systemMessage handler for setCurrentRotation, call setCurrentRotation only if we're the display server --- (limited to 'library/qpeapplication.cpp') diff --git a/library/qpeapplication.cpp b/library/qpeapplication.cpp index 7463074..f5bf0c5 100644 --- a/library/qpeapplication.cpp +++ b/library/qpeapplication.cpp @@ -1067,9 +1067,11 @@ void QPEApplication::systemMessage( const QCString& msg, const QByteArray& data } } else if ( msg == "setCurrentRotation(int)" ) { - int r; - stream >> r; - setCurrentRotation( r ); + if ( type() == GuiServer ) { + int r; + stream >> r; + setCurrentRotation( r ); + } } else if ( msg == "shutdown()" ) { if ( type() == GuiServer ) -- cgit v0.9.0.2