author | llornkcor <llornkcor> | 2002-10-10 13:31:57 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-10-10 13:31:57 (UTC) |
commit | c82a7868e0e2f8dc3e3d2b42629fc8d8efef05c7 (patch) (side-by-side diff) | |
tree | 46c91fad5a5869d7ca146cf78c74a02d04eb083a | |
parent | 798474a96ae42503b9d73444d7a4c05d6af5bc10 (diff) | |
download | opie-c82a7868e0e2f8dc3e3d2b42629fc8d8efef05c7.zip opie-c82a7868e0e2f8dc3e3d2b42629fc8d8efef05c7.tar.gz opie-c82a7868e0e2f8dc3e3d2b42629fc8d8efef05c7.tar.bz2 |
enough memory again mesage is silly and annoying, and takes up memory in low memory situations
-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 @@ -322,13 +322,13 @@ void DesktopApplication::switchLCD ( bool on ) DesktopApplication *dapp = (DesktopApplication *) qApp; 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 ); + + } } } @@ -380,9 +380,9 @@ void DesktopApplication::desktopMessage( const QCString &msg, const QByteArray & else if ( msg == "suspend()" ) { emit power(); } else if ( msg == "home()" ) { - qpedesktop-> home ( ); + qpedesktop-> home ( ); } #endif } @@ -674,11 +674,11 @@ void Desktop::checkMemory() case Normal: memstate = Unknown; 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: memstate = Unknown; QMessageBox::critical( 0 , "Memory Status", @@ -719,18 +719,18 @@ void Desktop::raiseLauncher() cfg.setGroup( "AppsKey" ); QString tempItem; tempItem = cfg.readEntry( "Middle", "Home" ); if ( tempItem == "Home" || tempItem.isEmpty() ) { - home ( ); + home ( ); } else { QCopEnvelope e( "QPE/System", "execute(QString)" ); e << tempItem; } } void Desktop::home ( ) -{ +{ if ( isVisibleWindow( launcher->winId() ) ) launcher->nextView(); else launcher->raise(); |