summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2004-07-06 15:39:57 (UTC)
committer zautrix <zautrix>2004-07-06 15:39:57 (UTC)
commit60ec860b41d2af2444955e5cc3d04d132c76dbbb (patch) (side-by-side diff)
treed50b2d27b1bd82b6a093ed5c1cdccbf60e7759a4
parentc4bd138c16e8d34294502c9da5706e21337ba53d (diff)
downloadkdepimpi-60ec860b41d2af2444955e5cc3d04d132c76dbbb.zip
kdepimpi-60ec860b41d2af2444955e5cc3d04d132c76dbbb.tar.gz
kdepimpi-60ec860b41d2af2444955e5cc3d04d132c76dbbb.tar.bz2
Fixed again endless loop in kdialogbase okclicked
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--microkde/kdialogbase.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/microkde/kdialogbase.cpp b/microkde/kdialogbase.cpp
index 489474a..2251207 100644
--- a/microkde/kdialogbase.cpp
+++ b/microkde/kdialogbase.cpp
@@ -250,27 +250,26 @@ bool KDialogBase::showPage( int index )
QFrame *KDialogBase::plainPage()
{
if ( !mPlainPage ) {
mPlainPage = new QFrame( this );
setMainWidget( mPlainPage );
}
return mPlainPage;
}
void KDialogBase::slotOk()
{
- qDebug("KDialogBase::slotOk");
emit okClicked();
- accept();
+ QDialog::accept();
}
void KDialogBase::slotApply()
{
emit applyClicked();
}
void KDialogBase::slotCancel()
{
emit cancelClicked();
reject();
}