From 42e4592219600d6919c93dec82635e2b64382b37 Mon Sep 17 00:00:00 2001 From: sandman Date: Wed, 28 Aug 2002 23:01:58 +0000 Subject: - speedup for suspend: don't switch off backlight - don't call processEvents on resume since it is not really needed anymore --- (limited to 'core/launcher/desktop.cpp') diff --git a/core/launcher/desktop.cpp b/core/launcher/desktop.cpp index fb10602..1ec477c 100644 --- a/core/launcher/desktop.cpp +++ b/core/launcher/desktop.cpp @@ -616,7 +616,7 @@ void Desktop::togglePower() loggedin=0; suspendTime = QDateTime::currentDateTime(); - qpe_setBacklight ( 0 ); // force LCD off +// qpe_setBacklight ( 0 ); // force LCD off (sandman: why ????) if ( wasloggedin ) blankScreen(); @@ -636,9 +636,6 @@ void Desktop::togglePower() execAutoStart(); //qcopBridge->closeOpenConnections(); - //qDebug("called togglePower()!!!!!!"); - - qApp-> processEvents ( ); excllock = false; } -- cgit v0.9.0.2