From dd410f1eb69e68f04cf26b6d3e6bca88f0987f71 Mon Sep 17 00:00:00 2001 From: mickeyl Date: Sun, 23 Jan 2005 21:35:29 +0000 Subject: remove setSoftSuspend() from ODevice. this is a left-over from the old days --- (limited to 'core') diff --git a/core/launcher/main.cpp b/core/launcher/main.cpp index 734d072..5bbed59 100644 --- a/core/launcher/main.cpp +++ b/core/launcher/main.cpp @@ -158,9 +158,6 @@ int initApplication( int argc, char ** argv ) return 0; } -#ifndef Q_OS_MACX - ODevice::inst()->setSoftSuspend( true ); -#endif { QCopEnvelope e("QPE/System", "setBacklight(int)" ); e << -3; // Forced on @@ -195,10 +192,6 @@ int initApplication( int argc, char ** argv ) odebug << "removing server object..." << oendl; delete s; -#ifndef Q_OS_MACX - ODevice::inst()->setSoftSuspend( false ); -#endif - odebug << "returning from qpe/initapplication..." << oendl; return rv; } diff --git a/core/opie-login/main.cpp b/core/opie-login/main.cpp index 0699d0a..2de0180 100644 --- a/core/opie-login/main.cpp +++ b/core/opie-login/main.cpp @@ -192,8 +192,7 @@ int main ( int argc, char **argv ) if ( autolog && !userExited ) { QWSServer::setDesktopBackground( QImage() ); - ODevice::inst ( )-> setDisplayStatus ( true ); - ODevice::inst ( )-> setSoftSuspend ( false ); + ODevice::inst()->setDisplayStatus( true ); LoginApplication *app = new LoginApplication ( argc, argv, ppid ); LoginApplication::setLoginAs ( autolog ); @@ -335,8 +334,6 @@ int login_main ( int argc, char **argv, pid_t ppid ) app-> setFont ( QFont ( "Helvetica", 10 )); app-> setStyle ( new QPEStyle ( )); - ODevice::inst ( )-> setSoftSuspend ( true ); - if ( QWSServer::mouseHandler() && QWSServer::mouseHandler() ->inherits("QCalibratedMouseHandler") ) { if ( !QFile::exists ( "/etc/pointercal" )) { @@ -361,8 +358,6 @@ int login_main ( int argc, char **argv, pid_t ppid ) int rc = app-> exec ( ); - ODevice::inst ( )-> setSoftSuspend ( false ); - if ( app-> loginAs ( )) { if ( app-> changeIdentity ( )) { app-> login ( ); -- cgit v0.9.0.2