From c2f177da94a39a265f8a73402148dd84faa15b71 Mon Sep 17 00:00:00 2001 From: uwolfer Date: Mon, 18 Feb 2008 20:42:48 +0000 Subject: [PATCH] Fix problem that KRDC could not be exited anymore because user has clicked 'No' and 'Remember'. Just provide a 'Quit' and 'Cancel' button. BUG:158011 git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/KDE/kdenetwork@776798 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- krdc/mainwindow.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/krdc/mainwindow.cpp b/krdc/mainwindow.cpp index 27b0365bd..42b8959b4 100644 --- a/krdc/mainwindow.cpp +++ b/krdc/mainwindow.cpp @@ -629,11 +629,11 @@ void MainWindow::updateConfiguration() void MainWindow::quit() { - if (KMessageBox::warningYesNoCancel(this, - i18n("Are you sure you want to close the KDE Remote Desktop Client?"), - i18n("Confirm Quit"), - KStandardGuiItem::yes(), KStandardGuiItem::no(), KStandardGuiItem::cancel(), - "DoNotAskBeforeExit") == KMessageBox::Yes) { + if (KMessageBox::warningContinueCancel(this, + i18n("Are you sure you want to quit the KDE Remote Desktop Client?"), + i18n("Confirm Quit"), + KStandardGuiItem::quit(), KStandardGuiItem::cancel(), + "DoNotAskBeforeExit") == KMessageBox::Continue) { if (Settings::rememberSessions()) { // remember open remote views for next startup QStringList list; -- 2.11.4.GIT