-rw-r--r-- | core/launcher/desktop.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/launcher/desktop.cpp b/core/launcher/desktop.cpp index 547daa9..64043e7 100644 --- a/core/launcher/desktop.cpp +++ b/core/launcher/desktop.cpp | |||
@@ -557,7 +557,7 @@ void Desktop::togglePower() | |||
557 | 557 | ||
558 | system("apm --suspend"); | 558 | system("apm --suspend"); |
559 | 559 | ||
560 | sleep(2); | 560 | |
561 | 561 | ||
562 | QWSServer::screenSaverActivate( FALSE ); | 562 | QWSServer::screenSaverActivate( FALSE ); |
563 | { | 563 | { |
@@ -568,7 +568,7 @@ void Desktop::togglePower() | |||
568 | if ( wasloggedin ) { | 568 | if ( wasloggedin ) { |
569 | login(TRUE); | 569 | login(TRUE); |
570 | } | 570 | } |
571 | 571 | sleep(1); | |
572 | execAutoStart(); | 572 | execAutoStart(); |
573 | //qcopBridge->closeOpenConnections(); | 573 | //qcopBridge->closeOpenConnections(); |
574 | //qDebug("called togglePower()!!!!!!"); | 574 | //qDebug("called togglePower()!!!!!!"); |