From cc0aef7dbfc211d32dd90d903f910f4454d86f59 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 21 Sep 2011 17:34:23 +0000 Subject: Close kdesktop_lock windows on SIGTERM git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1254851 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdesktop/lock/lockprocess.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'kdesktop') diff --git a/kdesktop/lock/lockprocess.cc b/kdesktop/lock/lockprocess.cc index 271581dff..c8681c6df 100644 --- a/kdesktop/lock/lockprocess.cc +++ b/kdesktop/lock/lockprocess.cc @@ -603,6 +603,10 @@ bool LockProcess::dontLock() //--------------------------------------------------------------------------- void LockProcess::quitSaver() { + if (closeCurrentWindow()) { + TQTimer::singleShot( 0, this, SLOT(quitSaver()) ); + return; + } stopSaver(); kapp->quit(); } -- cgit v1.2.1