summaryrefslogtreecommitdiffstats
path: root/kdesktop
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-09-13 07:37:32 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-09-13 07:37:32 +0000
commit2f40ab1411c3feaf116304b13813ab661805029f (patch)
tree95de75011f301fa9a86b39fca421b9680db5c77b /kdesktop
parent7bab23c1ca0b5734ab431b7ae6dadc25d33f200e (diff)
downloadtdebase-2f40ab1411c3feaf116304b13813ab661805029f.tar.gz
tdebase-2f40ab1411c3feaf116304b13813ab661805029f.zip
Fix desktop lock appearance...again...
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1253085 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdesktop')
-rw-r--r--kdesktop/lock/lockprocess.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/kdesktop/lock/lockprocess.cc b/kdesktop/lock/lockprocess.cc
index 91b18c822..24fd8b939 100644
--- a/kdesktop/lock/lockprocess.cc
+++ b/kdesktop/lock/lockprocess.cc
@@ -966,6 +966,12 @@ void LockProcess::ungrabInput()
//
bool LockProcess::startSaver()
{
+ m_startupStatusDialog = new KSMModalDialog(this);
+ m_startupStatusDialog->setStatusMessage(i18n("Securing desktop session").append("..."));
+ m_startupStatusDialog->show();
+ m_startupStatusDialog->setActiveWindow();
+ tqApp->processEvents();
+
if (!child_saver && !grabInput())
{
kdWarning(1204) << "LockProcess::startSaver() grabInput() failed!!!!" << endl;
@@ -988,12 +994,6 @@ bool LockProcess::startSaver()
p.end();
setBackgroundPixmap( m_root );
- m_startupStatusDialog = new KSMModalDialog(this);
- m_startupStatusDialog->setStatusMessage(i18n("Securing desktop session").append("..."));
- m_startupStatusDialog->show();
- m_startupStatusDialog->setActiveWindow();
- tqApp->processEvents();
-
saveVRoot();
if (mParent) {