diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-09-22 19:54:56 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-09-22 19:54:56 +0000 |
commit | 3b5a657aa92b92d0c766ac17ffff57e9ecc57184 (patch) | |
tree | d31c32f9f282eb6d248178429c70debc3ac91380 | |
parent | 0f05883544c6b698ce76b524da4d13d77529eb31 (diff) | |
download | tdebase-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
-rw-r--r-- | kdm/kfrontend/kgreeter.cpp | 5 | ||||
-rw-r--r-- | kdm/kfrontend/kgreeter.h | 1 |
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(); |