summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/opie-login/loginwindowimpl.cpp3
-rw-r--r--core/opie-login/main.cpp13
2 files changed, 8 insertions, 8 deletions
diff --git a/core/opie-login/loginwindowimpl.cpp b/core/opie-login/loginwindowimpl.cpp
index f24ebb3..63baaa6 100644
--- a/core/opie-login/loginwindowimpl.cpp
+++ b/core/opie-login/loginwindowimpl.cpp
@@ -36,2 +36,5 @@ extern "C" {
+using namespace Opie;
+
+
LoginWindowImpl::LoginWindowImpl ( ) : LoginWindow ( 0, "LOGIN-WINDOW", WStyle_Customize | WStyle_NoBorder | WDestructiveClose )
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 @@
+using namespace Opie;
+
int login_main ( int argc, char **argv );
@@ -92,3 +94,3 @@ public:
// Make sure the LCD is in fact on, (if opie was killed while the LCD is off it would still be off)
- ODevice::inst ( ) -> setDisplayStatus ( true );
+ ODevice::inst ( )-> setDisplayStatus ( true );
}
@@ -99,3 +101,3 @@ public:
- setBacklight ( -1 );
+ setBacklight ( -3 );
}
@@ -191,7 +193,2 @@ int login_main ( int argc, char **argv )
- {
- QCopEnvelope e("QPE/System", "setBacklight(int)" );
- e << -3; // Forced on
- }
-
#if defined(QT_QWS_CASSIOPEIA) || defined(QT_QWS_IPAQ) || defined(QT_QWS_EBX)
@@ -205,3 +202,2 @@ int login_main ( int argc, char **argv )
-
LoginScreenSaver *saver = new LoginScreenSaver;
@@ -210,2 +206,3 @@ int login_main ( int argc, char **argv )
QWSServer::setScreenSaver ( saver );
+ saver-> restore ( );