author | zautrix <zautrix> | 2004-07-06 15:39:57 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-07-06 15:39:57 (UTC) |
commit | 60ec860b41d2af2444955e5cc3d04d132c76dbbb (patch) (unidiff) | |
tree | d50b2d27b1bd82b6a093ed5c1cdccbf60e7759a4 /microkde/kdialogbase.cpp | |
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 | |||
@@ -250,27 +250,26 @@ bool KDialogBase::showPage( int index ) | |||
250 | 250 | ||
251 | QFrame *KDialogBase::plainPage() | 251 | QFrame *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 | ||
260 | void KDialogBase::slotOk() | 260 | void KDialogBase::slotOk() |
261 | { | 261 | { |
262 | qDebug("KDialogBase::slotOk"); | ||
263 | emit okClicked(); | 262 | emit okClicked(); |
264 | accept(); | 263 | QDialog::accept(); |
265 | } | 264 | } |
266 | 265 | ||
267 | void KDialogBase::slotApply() | 266 | void KDialogBase::slotApply() |
268 | { | 267 | { |
269 | emit applyClicked(); | 268 | emit applyClicked(); |
270 | } | 269 | } |
271 | 270 | ||
272 | void KDialogBase::slotCancel() | 271 | void KDialogBase::slotCancel() |
273 | { | 272 | { |
274 | emit cancelClicked(); | 273 | emit cancelClicked(); |
275 | reject(); | 274 | reject(); |
276 | } | 275 | } |