summaryrefslogtreecommitdiffabout
Side-by-side diff
Diffstat (more/less context) (show 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
@@ -99,10 +99,11 @@ void AddresseeEditorDialog:: accept ()
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
@@ -259,9 +259,9 @@ QFrame *KDialogBase::plainPage()
void KDialogBase::slotOk()
{
emit okClicked();
- QDialog::accept();
+ accept();
}
void KDialogBase::slotApply()
{