summaryrefslogtreecommitdiff
authorar <ar>2004-06-09 21:22:32 (UTC)
committer ar <ar>2004-06-09 21:22:32 (UTC)
commitebe42d8fd16f7e8f23e110650b3e1e2728e857d8 (patch) (side-by-side diff)
treef5de89bb47c46f7353f8c6fb58c4f5071aa393d9
parent044e457d601a2d38a0debe25f8babca5d0ca764f (diff)
downloadopie-ebe42d8fd16f7e8f23e110650b3e1e2728e857d8.zip
opie-ebe42d8fd16f7e8f23e110650b3e1e2728e857d8.tar.gz
opie-ebe42d8fd16f7e8f23e110650b3e1e2728e857d8.tar.bz2
- improve BigScreen on ShutDown
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--core/launcher/serverapp.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/core/launcher/serverapp.cpp b/core/launcher/serverapp.cpp
index 807942d..54cc313 100644
--- a/core/launcher/serverapp.cpp
+++ b/core/launcher/serverapp.cpp
@@ -692,34 +692,32 @@ void ServerApplication::clearSafeMode()
QString mode = cfg.readEntry( "Mode", "Normal" );
if ( mode == "MaybeSafe" ) {
cfg.writeEntry( "Mode", "Normal" );
}
#endif
}
void ServerApplication::shutdown()
{
if ( type() != GuiServer )
return;
ShutdownImpl *sd = new ShutdownImpl( 0, 0, WDestructiveClose );
connect( sd, SIGNAL(shutdown(ShutdownImpl::Type)),
this, SLOT(shutdown(ShutdownImpl::Type)) );
QPEApplication::showWidget( sd );
- sd->move(0,0);
-
}
void ServerApplication::shutdown( ShutdownImpl::Type t )
{
char *opt = 0;
switch ( t ) {
case ShutdownImpl::ShutdownSystem:
opt = "-h";
// fall through
case ShutdownImpl::RebootSystem:
if ( opt == 0 )
opt = "-r";
if ( execl( "/sbin/shutdown", "shutdown", opt, "now", ( void* ) 0) < 0 )
perror("shutdown");