author | zautrix <zautrix> | 2004-07-06 15:39:57 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-07-06 15:39:57 (UTC) |
commit | 60ec860b41d2af2444955e5cc3d04d132c76dbbb (patch) (side-by-side diff) | |
tree | d50b2d27b1bd82b6a093ed5c1cdccbf60e7759a4 | |
parent | c4bd138c16e8d34294502c9da5706e21337ba53d (diff) | |
download | kdepimpi-60ec860b41d2af2444955e5cc3d04d132c76dbbb.zip kdepimpi-60ec860b41d2af2444955e5cc3d04d132c76dbbb.tar.gz kdepimpi-60ec860b41d2af2444955e5cc3d04d132c76dbbb.tar.bz2 |
Fixed again endless loop in kdialogbase okclicked
-rw-r--r-- | microkde/kdialogbase.cpp | 3 |
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 @@ -246,35 +246,34 @@ int KDialogBase::pageIndex( QWidget *widget ) const bool KDialogBase::showPage( int index ) { tabWidget()->setCurrentPage( index );return false; } 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(); } void KDialogBase::slotClose() { emit closeClicked(); |