-rw-r--r-- | core/launcher/desktop.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/core/launcher/desktop.cpp b/core/launcher/desktop.cpp index 1a33b36..6ee7132 100644 --- a/core/launcher/desktop.cpp +++ b/core/launcher/desktop.cpp @@ -324,9 +324,9 @@ void DesktopApplication::switchLCD ( bool on ) if ( dapp-> m_screensaver ) { if ( on ) - dapp-> m_screensaver-> restore ( ); //setBacklight ( on ? -3 : -1 ); - else - dapp-> m_screensaver-> save ( 1 ); - - } + dapp-> m_screensaver-> restore ( ); //setBacklight ( on ? -3 : -1 ); + else + dapp-> m_screensaver-> save ( 1 ); + + } } } @@ -382,5 +382,5 @@ void DesktopApplication::desktopMessage( const QCString &msg, const QByteArray & } else if ( msg == "home()" ) { - qpedesktop-> home ( ); + qpedesktop-> home ( ); } #endif @@ -676,7 +676,7 @@ void Desktop::checkMemory() if ( ignoreNormal ) ignoreNormal = FALSE; - else - QMessageBox::information ( 0 , "Memory Status", - "There is enough memory again." ); +// else +// QMessageBox::information ( 0 , "Memory Status", +// "There is enough memory again." ); break; case VeryLow: @@ -721,5 +721,5 @@ void Desktop::raiseLauncher() tempItem = cfg.readEntry( "Middle", "Home" ); if ( tempItem == "Home" || tempItem.isEmpty() ) { - home ( ); + home ( ); } else { @@ -730,5 +730,5 @@ void Desktop::raiseLauncher() void Desktop::home ( ) -{ +{ if ( isVisibleWindow( launcher->winId() ) ) launcher->nextView(); |