summaryrefslogtreecommitdiffstats
path: root/kdm
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
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')
-rw-r--r--kdm/kfrontend/kgreeter.cpp5
-rw-r--r--kdm/kfrontend/kgreeter.h1
2 files changed, 6 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());
diff --git a/kdm/kfrontend/kgreeter.h b/kdm/kfrontend/kgreeter.h
index b481d7bad..8ec8dd9c1 100644
--- a/kdm/kfrontend/kgreeter.h
+++ b/kdm/kfrontend/kgreeter.h
@@ -68,6 +68,7 @@ class KGreeter : public KGDialog, public KGVerifyHandler {
public slots:
void accept();
void reject();
+ void done(int r);
void slotUserClicked( TQListViewItem * );
void slotSessionSelected( int );
void slotUserEntered();