summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/launcher/desktop.cpp5
-rw-r--r--core/launcher/main.cpp3
2 files changed, 3 insertions, 5 deletions
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
@@ -618,3 +618,3 @@ void Desktop::togglePower()
- qpe_setBacklight ( 0 ); // force LCD off
+// qpe_setBacklight ( 0 ); // force LCD off (sandman: why ????)
@@ -638,5 +638,2 @@ void Desktop::togglePower()
//qcopBridge->closeOpenConnections();
- //qDebug("called togglePower()!!!!!!");
-
- qApp-> processEvents ( );
diff --git a/core/launcher/main.cpp b/core/launcher/main.cpp
index 3ee5e26..5cf624b 100644
--- a/core/launcher/main.cpp
+++ b/core/launcher/main.cpp
@@ -354,3 +354,3 @@ void remove_pidfile ( )
-void handle_sigterm ( int sig )
+void handle_sigterm ( int /* sig */ )
{
@@ -366,2 +366,3 @@ int main( int argc, char ** argv )
::signal ( SIGTERM, handle_sigterm );
+ ::signal ( SIGINT, handle_sigterm );