summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/launcher/desktop.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/launcher/desktop.cpp b/core/launcher/desktop.cpp
index 680cc06..547daa9 100644
--- a/core/launcher/desktop.cpp
+++ b/core/launcher/desktop.cpp
@@ -557,6 +557,8 @@ void Desktop::togglePower()
557 557
558 system("apm --suspend"); 558 system("apm --suspend");
559 559
560 sleep(2);
561
560 QWSServer::screenSaverActivate( FALSE ); 562 QWSServer::screenSaverActivate( FALSE );
561 { 563 {
562 QCopEnvelope("QPE/Card", "mtabChanged()" ); // might have changed while asleep 564 QCopEnvelope("QPE/Card", "mtabChanged()" ); // might have changed while asleep
@@ -566,6 +568,7 @@ void Desktop::togglePower()
566 if ( wasloggedin ) { 568 if ( wasloggedin ) {
567 login(TRUE); 569 login(TRUE);
568 } 570 }
571
569 execAutoStart(); 572 execAutoStart();
570 //qcopBridge->closeOpenConnections(); 573 //qcopBridge->closeOpenConnections();
571 //qDebug("called togglePower()!!!!!!"); 574 //qDebug("called togglePower()!!!!!!");