From c82a7868e0e2f8dc3e3d2b42629fc8d8efef05c7 Mon Sep 17 00:00:00 2001 From: llornkcor Date: Thu, 10 Oct 2002 13:31:57 +0000 Subject: enough memory again mesage is silly and annoying, and takes up memory in low memory situations --- (limited to 'core') 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 @@ -323,11 +323,11 @@ 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 ); + + } } } @@ -381,7 +381,7 @@ void DesktopApplication::desktopMessage( const QCString &msg, const QByteArray & emit power(); } else if ( msg == "home()" ) { - qpedesktop-> home ( ); + qpedesktop-> home ( ); } #endif } @@ -675,9 +675,9 @@ void Desktop::checkMemory() 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; @@ -720,7 +720,7 @@ void Desktop::raiseLauncher() QString tempItem; tempItem = cfg.readEntry( "Middle", "Home" ); if ( tempItem == "Home" || tempItem.isEmpty() ) { - home ( ); + home ( ); } else { QCopEnvelope e( "QPE/System", "execute(QString)" ); @@ -729,7 +729,7 @@ void Desktop::raiseLauncher() } void Desktop::home ( ) -{ +{ if ( isVisibleWindow( launcher->winId() ) ) launcher->nextView(); else -- cgit v0.9.0.2