summaryrefslogtreecommitdiffstats
path: root/kdesktop
diff options
context:
space:
mode:
Diffstat (limited to 'kdesktop')
-rw-r--r--kdesktop/lockeng.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/kdesktop/lockeng.cc b/kdesktop/lockeng.cc
index 49be555f3..0612860a7 100644
--- a/kdesktop/lockeng.cc
+++ b/kdesktop/lockeng.cc
@@ -223,8 +223,6 @@ void SaverEngine::slotSAKProcessExited()
{
mLockProcess.kill( SIGHUP );
}
-
- TQTimer::singleShot( 0, this, TQT_SLOT(handleSecureDialog()) );
}
}
@@ -372,6 +370,9 @@ void SaverEngine::lockProcessExited()
}
processLockTransactions();
mState = Waiting;
+ if (trinity_lockeng_sak_available == TRUE) {
+ handleSecureDialog();
+ }
}
//---------------------------------------------------------------------------