summaryrefslogtreecommitdiffstats
path: root/kdm/kfrontend/kgreeter.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-09-22 19:54:56 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-09-22 19:54:56 +0000
commit3b5a657aa92b92d0c766ac17ffff57e9ecc57184 (patch)
treed31c32f9f282eb6d248178429c70debc3ac91380 /kdm/kfrontend/kgreeter.cpp
parent0f05883544c6b698ce76b524da4d13d77529eb31 (diff)
downloadtdebase-3b5a657aa92b92d0c766ac17ffff57e9ecc57184.tar.gz
tdebase-3b5a657aa92b92d0c766ac17ffff57e9ecc57184.zip
Ensure that it is possible to close the greeter plugin
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1255017 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdm/kfrontend/kgreeter.cpp')
-rw-r--r--kdm/kfrontend/kgreeter.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/kdm/kfrontend/kgreeter.cpp b/kdm/kfrontend/kgreeter.cpp
index 0a476d2b9..ab7fd302b 100644
--- a/kdm/kfrontend/kgreeter.cpp
+++ b/kdm/kfrontend/kgreeter.cpp
@@ -221,6 +221,11 @@ KGreeter::~KGreeter()
delete stsFile;
}
+void KGreeter::done(int r) {
+ closingDown = true;
+ inherited::done(r);
+}
+
void KGreeter::handleInputPipe(void) {
if (closingDown) {
::unlink(mPipeFilename.ascii());