summaryrefslogtreecommitdiffabout
path: root/kaddressbook
authorzautrix <zautrix>2004-07-06 20:10:47 (UTC)
committer zautrix <zautrix>2004-07-06 20:10:47 (UTC)
commit3db5c4e190d1031f2471516f8a52114f06d1a3eb (patch) (unidiff)
treedbccf9780829b25c01a2a65439409591b8da422e /kaddressbook
parent9c1abdb6194f9539b26d9f3045bde5cd91960dd0 (diff)
downloadkdepimpi-3db5c4e190d1031f2471516f8a52114f06d1a3eb.zip
kdepimpi-3db5c4e190d1031f2471516f8a52114f06d1a3eb.tar.gz
kdepimpi-3db5c4e190d1031f2471516f8a52114f06d1a3eb.tar.bz2
Fixed the qdialog::accept problem
Diffstat (limited to 'kaddressbook') (more/less context) (show whitespace changes)
-rw-r--r--kaddressbook/addresseeeditordialog.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/kaddressbook/addresseeeditordialog.cpp b/kaddressbook/addresseeeditordialog.cpp
index 6bc4129..d8c1aca 100644
--- a/kaddressbook/addresseeeditordialog.cpp
+++ b/kaddressbook/addresseeeditordialog.cpp
@@ -91,26 +91,27 @@ void AddresseeEditorDialog::slotApply()
91 KDialogBase::slotApply(); 91 KDialogBase::slotApply();
92} 92}
93 93
94void AddresseeEditorDialog:: accept () 94void AddresseeEditorDialog:: accept ()
95{ 95{
96 slotOk(); 96 slotOk();
97 97
98} 98}
99void AddresseeEditorDialog::slotOk() 99void AddresseeEditorDialog::slotOk()
100{ 100{
101 slotApply(); 101 slotApply();
102 102
103 KDialogBase::slotOk(); 103 //KDialogBase::slotOk();
104 104 emit okClicked();
105 QDialog::accept();
105} 106}
106 107
107void AddresseeEditorDialog::widgetModified() 108void AddresseeEditorDialog::widgetModified()
108{ 109{
109 enableButton( KDialogBase::Apply, true ); 110 enableButton( KDialogBase::Apply, true );
110} 111}
111 112
112void AddresseeEditorDialog::slotCancel() 113void AddresseeEditorDialog::slotCancel()
113{ 114{
114 KDialogBase::slotCancel(); 115 KDialogBase::slotCancel();
115 116
116 117