diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-09-21 17:34:23 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-09-21 17:34:23 +0000 |
commit | cc0aef7dbfc211d32dd90d903f910f4454d86f59 (patch) | |
tree | 896981c26e65e1805ffbf3bcd405e37db93b215f /kdesktop/lock | |
parent | 759a6d228ec6111691d6c0b90c401c2ce82a4c59 (diff) | |
download | tdebase-cc0aef7dbfc211d32dd90d903f910f4454d86f59.tar.gz tdebase-cc0aef7dbfc211d32dd90d903f910f4454d86f59.zip |
Close kdesktop_lock windows on SIGTERM
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1254851 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdesktop/lock')
-rw-r--r-- | kdesktop/lock/lockprocess.cc | 4 |
1 files changed, 4 insertions, 0 deletions
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(); } |