From 2f40ab1411c3feaf116304b13813ab661805029f Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 13 Sep 2011 07:37:32 +0000 Subject: Fix desktop lock appearance...again... git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1253085 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdesktop/lock/lockprocess.cc | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'kdesktop') 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) { -- cgit v1.2.1