-rw-r--r-- | core/launcher/desktop.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/core/launcher/desktop.cpp b/core/launcher/desktop.cpp index d74b745..1fd3f6a 100644 --- a/core/launcher/desktop.cpp +++ b/core/launcher/desktop.cpp @@ -154,3 +154,2 @@ void DesktopPowerAlerter::hideEvent( QHideEvent *e ) - class QPEScreenSaver : public QWSScreenSaver @@ -327,3 +326,2 @@ private: - void DesktopApplication::switchLCD ( bool on ) @@ -644,3 +642,3 @@ Desktop::Desktop() : qApp->installEventFilter( this ); - + qApp-> setMainWidget ( launcher ); @@ -711,2 +709,3 @@ static bool isVisibleWindow( int wid ) { +#ifdef QWS const QList<QWSWindow> &list = qwsServer->clientWindows(); @@ -717,2 +716,3 @@ static bool isVisibleWindow( int wid ) } +#endif return FALSE; @@ -722,2 +722,3 @@ static bool hasVisibleWindow( const QString& clientname ) { +#ifdef QWS const QList<QWSWindow> &list = qwsServer->clientWindows(); @@ -728,2 +729,3 @@ static bool hasVisibleWindow( const QString& clientname ) } +#endif return FALSE; @@ -747,3 +749,3 @@ void Desktop::raiseLauncher() void Desktop::home ( ) -{ +{ if ( isVisibleWindow( launcher->winId() ) ) |