summaryrefslogtreecommitdiff
path: root/core/launcher/desktop.cpp
Side-by-side diff
Diffstat (limited to 'core/launcher/desktop.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/launcher/desktop.cpp10
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
@@ -153,5 +153,4 @@ void DesktopPowerAlerter::hideEvent( QHideEvent *e )
}
-
class QPEScreenSaver : public QWSScreenSaver
{
@@ -326,5 +325,4 @@ private:
};
-
void DesktopApplication::switchLCD ( bool on )
{
@@ -643,5 +641,5 @@ Desktop::Desktop() :
qApp->installEventFilter( this );
-
+
qApp-> setMainWidget ( launcher );
}
@@ -710,4 +708,5 @@ void Desktop::checkMemory()
static bool isVisibleWindow( int wid )
{
+#ifdef QWS
const QList<QWSWindow> &list = qwsServer->clientWindows();
QWSWindow* w;
@@ -716,4 +715,5 @@ static bool isVisibleWindow( int wid )
return !w->isFullyObscured();
}
+#endif
return FALSE;
}
@@ -721,4 +721,5 @@ static bool isVisibleWindow( int wid )
static bool hasVisibleWindow( const QString& clientname )
{
+#ifdef QWS
const QList<QWSWindow> &list = qwsServer->clientWindows();
QWSWindow* w;
@@ -727,4 +728,5 @@ static bool hasVisibleWindow( const QString& clientname )
return TRUE;
}
+#endif
return FALSE;
}
@@ -746,5 +748,5 @@ void Desktop::raiseLauncher()
void Desktop::home ( )
-{
+{
if ( isVisibleWindow( launcher->winId() ) )
launcher->nextView();