author | llornkcor <llornkcor> | 2004-04-26 06:42:17 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2004-04-26 06:42:17 (UTC) |
commit | 4f6f06bab5c52c645ac33bdf77d4ed462b7c6a96 (patch) (side-by-side diff) | |
tree | c1c6adc8c197ea923b1cb8c784f5968ca5fe906b | |
parent | 0e3e74030b2a38cfc754d253ab098a1126f382ef (diff) | |
download | opie-4f6f06bab5c52c645ac33bdf77d4ed462b7c6a96.zip opie-4f6f06bab5c52c645ac33bdf77d4ed462b7c6a96.tar.gz opie-4f6f06bab5c52c645ac33bdf77d4ed462b7c6a96.tar.bz2 |
make shutdown app move to more proper position so it doesn't cut off the titlebar
-rw-r--r-- | core/launcher/serverapp.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/launcher/serverapp.cpp b/core/launcher/serverapp.cpp index cf543ce..807942d 100644 --- a/core/launcher/serverapp.cpp +++ b/core/launcher/serverapp.cpp @@ -696,24 +696,26 @@ void ServerApplication::clearSafeMode() #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 ) |