-rw-r--r-- | microkde/kutils/kcmultidialog.cpp | 7 | ||||
-rw-r--r-- | microkde/kutils/kcmultidialog.h | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/microkde/kutils/kcmultidialog.cpp b/microkde/kutils/kcmultidialog.cpp index 6c82e4f..e7aa9d1 100644 --- a/microkde/kutils/kcmultidialog.cpp +++ b/microkde/kutils/kcmultidialog.cpp @@ -82,5 +82,8 @@ void KCMultiDialog::slotDefault() } - +void KCMultiDialog::accept() +{ + slotOk(); +} void KCMultiDialog::slotApply() { @@ -104,5 +107,5 @@ qDebug("KCMultiDialog::slotOk clicked"); for (; it.current(); ++it) (*it)->save(); - accept(); + QDialog::accept(); emit okClicked(); diff --git a/microkde/kutils/kcmultidialog.h b/microkde/kutils/kcmultidialog.h index 1aa66b2..768faea 100644 --- a/microkde/kutils/kcmultidialog.h +++ b/microkde/kutils/kcmultidialog.h @@ -113,4 +113,6 @@ protected slots: virtual void slotHelp(); + void accept(); + private slots: |