summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--kaddressbook/addresseeeditordialog.cpp5
-rw-r--r--microkde/kdialogbase.cpp2
2 files changed, 4 insertions, 3 deletions
diff --git a/kaddressbook/addresseeeditordialog.cpp b/kaddressbook/addresseeeditordialog.cpp
index 6bc4129..d8c1aca 100644
--- a/kaddressbook/addresseeeditordialog.cpp
+++ b/kaddressbook/addresseeeditordialog.cpp
@@ -100,8 +100,9 @@ void AddresseeEditorDialog::slotOk()
{
slotApply();
- KDialogBase::slotOk();
-
+ //KDialogBase::slotOk();
+ emit okClicked();
+ QDialog::accept();
}
void AddresseeEditorDialog::widgetModified()
diff --git a/microkde/kdialogbase.cpp b/microkde/kdialogbase.cpp
index 2251207..c953058 100644
--- a/microkde/kdialogbase.cpp
+++ b/microkde/kdialogbase.cpp
@@ -260,7 +260,7 @@ QFrame *KDialogBase::plainPage()
void KDialogBase::slotOk()
{
emit okClicked();
- QDialog::accept();
+ accept();
}
void KDialogBase::slotApply()