summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2004-07-05 14:03:18 (UTC)
committer zautrix <zautrix>2004-07-05 14:03:18 (UTC)
commitaf75333f69c6b7284a7fbe7ab63c08e10ae4541b (patch) (unidiff)
tree2b530e1f75ce72d74cd6888ce0e0fc2862a6859f
parentca6ce5868aef5e925ff2e61d363f71e43d2b7d7b (diff)
downloadkdepimpi-af75333f69c6b7284a7fbe7ab63c08e10ae4541b.zip
kdepimpi-af75333f69c6b7284a7fbe7ab63c08e10ae4541b.tar.gz
kdepimpi-af75333f69c6b7284a7fbe7ab63c08e10ae4541b.tar.bz2
Fixed an endless loop
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--microkde/kdialogbase.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/microkde/kdialogbase.cpp b/microkde/kdialogbase.cpp
index c953058..2251207 100644
--- a/microkde/kdialogbase.cpp
+++ b/microkde/kdialogbase.cpp
@@ -251,25 +251,25 @@ bool KDialogBase::showPage( int index )
251QFrame *KDialogBase::plainPage() 251QFrame *KDialogBase::plainPage()
252{ 252{
253 if ( !mPlainPage ) { 253 if ( !mPlainPage ) {
254 mPlainPage = new QFrame( this ); 254 mPlainPage = new QFrame( this );
255 setMainWidget( mPlainPage ); 255 setMainWidget( mPlainPage );
256 } 256 }
257 return mPlainPage; 257 return mPlainPage;
258} 258}
259 259
260void KDialogBase::slotOk() 260void KDialogBase::slotOk()
261{ 261{
262 emit okClicked(); 262 emit okClicked();
263 accept(); 263 QDialog::accept();
264} 264}
265 265
266void KDialogBase::slotApply() 266void KDialogBase::slotApply()
267{ 267{
268 emit applyClicked(); 268 emit applyClicked();
269} 269}
270 270
271void KDialogBase::slotCancel() 271void KDialogBase::slotCancel()
272{ 272{
273 emit cancelClicked(); 273 emit cancelClicked();
274 reject(); 274 reject();
275} 275}