-rw-r--r-- | microkde/kdialogbase.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/microkde/kdialogbase.cpp b/microkde/kdialogbase.cpp index 2251207..489474a 100644 --- a/microkde/kdialogbase.cpp +++ b/microkde/kdialogbase.cpp | |||
@@ -250,26 +250,27 @@ 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"); | ||
262 | emit okClicked(); | 263 | emit okClicked(); |
263 | QDialog::accept(); | 264 | accept(); |
264 | } | 265 | } |
265 | 266 | ||
266 | void KDialogBase::slotApply() | 267 | void KDialogBase::slotApply() |
267 | { | 268 | { |
268 | emit applyClicked(); | 269 | emit applyClicked(); |
269 | } | 270 | } |
270 | 271 | ||
271 | void KDialogBase::slotCancel() | 272 | void KDialogBase::slotCancel() |
272 | { | 273 | { |
273 | emit cancelClicked(); | 274 | emit cancelClicked(); |
274 | reject(); | 275 | reject(); |
275 | } | 276 | } |