author | mickeyl <mickeyl> | 2003-11-06 10:28:39 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2003-11-06 10:28:39 (UTC) |
commit | 0b55f9efe488141e13bcaf84f5a05dfc69b550ba (patch) (side-by-side diff) | |
tree | af5a146f922e2e075d7a57ab32c1e22018f338a7 | |
parent | 8c283be8e455571a03f11035b23f649e49de726c (diff) | |
download | opie-0b55f9efe488141e13bcaf84f5a05dfc69b550ba.zip opie-0b55f9efe488141e13bcaf84f5a05dfc69b550ba.tar.gz opie-0b55f9efe488141e13bcaf84f5a05dfc69b550ba.tar.bz2 |
merge core/opie-login
-rw-r--r-- | core/opie-login/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/opie-login/main.cpp b/core/opie-login/main.cpp index 5ecde1e..7d2ed63 100644 --- a/core/opie-login/main.cpp +++ b/core/opie-login/main.cpp @@ -191,24 +191,25 @@ int main ( int argc, char **argv ) if ( !user. isEmpty ( )) autolog = ::strdup ( user. latin1 ( )); } if ( autolog && !userExited ) { QWSServer::setDesktopBackground( QImage() ); ODevice::inst ( )-> setDisplayStatus ( true ); ODevice::inst ( )-> setSoftSuspend ( false ); LoginApplication *app = new LoginApplication ( argc, argv, ppid ); LoginApplication::setLoginAs ( autolog ); + if ( LoginApplication::changeIdentity ( )) ::exit ( LoginApplication::login ( )); else ::exit ( 0 ); } else { ::exit ( login_main ( argc, argv, ppid )); } } } return 0; } |