summaryrefslogtreecommitdiff
path: root/core/opie-login/main.cpp
authorsandman <sandman>2002-09-30 21:37:26 (UTC)
committer sandman <sandman>2002-09-30 21:37:26 (UTC)
commit9208485864ccbd2a12160334cef302874b50043a (patch) (unidiff)
tree14a6017f54a86c1be53c87a8ed2b277b62dbcef1 /core/opie-login/main.cpp
parent3c6afa049f07c7e6311b3c88faf8a200827f3452 (diff)
downloadopie-9208485864ccbd2a12160334cef302874b50043a.zip
opie-9208485864ccbd2a12160334cef302874b50043a.tar.gz
opie-9208485864ccbd2a12160334cef302874b50043a.tar.bz2
misc. cleanups
Diffstat (limited to 'core/opie-login/main.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/opie-login/main.cpp13
1 files changed, 5 insertions, 8 deletions
diff --git a/core/opie-login/main.cpp b/core/opie-login/main.cpp
index 718009a..df9451d 100644
--- a/core/opie-login/main.cpp
+++ b/core/opie-login/main.cpp
@@ -23,2 +23,4 @@
23 23
24using namespace Opie;
25
24int login_main ( int argc, char **argv ); 26int login_main ( int argc, char **argv );
@@ -92,3 +94,3 @@ public:
92 // Make sure the LCD is in fact on, (if opie was killed while the LCD is off it would still be off) 94 // Make sure the LCD is in fact on, (if opie was killed while the LCD is off it would still be off)
93 ODevice::inst ( ) -> setDisplayStatus ( true ); 95 ODevice::inst ( )-> setDisplayStatus ( true );
94 } 96 }
@@ -99,3 +101,3 @@ public:
99 101
100 setBacklight ( -1 ); 102 setBacklight ( -3 );
101 } 103 }
@@ -191,7 +193,2 @@ int login_main ( int argc, char **argv )
191 193
192 {
193 QCopEnvelope e("QPE/System", "setBacklight(int)" );
194 e << -3; // Forced on
195 }
196
197#if defined(QT_QWS_CASSIOPEIA) || defined(QT_QWS_IPAQ) || defined(QT_QWS_EBX) 194#if defined(QT_QWS_CASSIOPEIA) || defined(QT_QWS_IPAQ) || defined(QT_QWS_EBX)
@@ -205,3 +202,2 @@ int login_main ( int argc, char **argv )
205 202
206
207 LoginScreenSaver *saver = new LoginScreenSaver; 203 LoginScreenSaver *saver = new LoginScreenSaver;
@@ -210,2 +206,3 @@ int login_main ( int argc, char **argv )
210 QWSServer::setScreenSaver ( saver ); 206 QWSServer::setScreenSaver ( saver );
207 saver-> restore ( );
211 208