-rw-r--r-- | core/launcher/serverapp.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/core/launcher/serverapp.cpp b/core/launcher/serverapp.cpp index 3d88873..f1bce40 100644 --- a/core/launcher/serverapp.cpp +++ b/core/launcher/serverapp.cpp @@ -25,5 +25,6 @@ #include <opie2/odebug.h> #include <opie2/odevice.h> -#include <qtopia/password.h> +#include <opie2/multiauthpassword.h> + #include <qtopia/config.h> #include <qtopia/power.h> @@ -351,4 +352,5 @@ ServerApplication::ServerApplication( int& argc, char **argv, Type t ) /* make sure the event filter is installed */ const ODeviceButton* but = ODevice::inst()->buttonForKeycode( -1 ); + Q_CONST_UNUSED( but ) } @@ -497,5 +499,5 @@ void ServerApplication::login(bool at_poweron) if ( !loggedin ) { Global::terminateBuiltin("calibrate"); // No tr - Password::authenticate(at_poweron); + Opie::Security::MultiauthPassword::authenticate(at_poweron); loggedin=1; #ifndef QT_NO_COP @@ -553,5 +555,5 @@ void ServerApplication::togglePower() #ifdef QWS - if ( Password::needToAuthenticate ( true ) && qt_screen ) { + if ( Opie::Security::MultiauthPassword::needToAuthenticate ( true ) && qt_screen ) { // Should use a big black window instead. // But this would not show up fast enough |