Diffstat (limited to 'core/pim/datebook/dateentryimpl.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | core/pim/datebook/dateentryimpl.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/pim/datebook/dateentryimpl.cpp b/core/pim/datebook/dateentryimpl.cpp index 13d2ce2..d9e5225 100644 --- a/core/pim/datebook/dateentryimpl.cpp +++ b/core/pim/datebook/dateentryimpl.cpp | |||
@@ -393,24 +393,26 @@ void DateEntry::slotRepeat() | |||
393 | if ( rp.type != Event::NoRepeat ) | 393 | if ( rp.type != Event::NoRepeat ) |
394 | e = new RepeatEntry( startWeekOnMonday, rp, startDate, this); | 394 | e = new RepeatEntry( startWeekOnMonday, rp, startDate, this); |
395 | else | 395 | else |
396 | e = new RepeatEntry( startWeekOnMonday, startDate, this ); | 396 | e = new RepeatEntry( startWeekOnMonday, startDate, this ); |
397 | 397 | ||
398 | #if defined(Q_WS_QWS) || defined(_WS_QWS_) | 398 | #if defined(Q_WS_QWS) || defined(_WS_QWS_) |
399 | e->showMaximized(); | 399 | e->showMaximized(); |
400 | #endif | 400 | #endif |
401 | if ( e->exec() ) { | 401 | if ( e->exec() ) { |
402 | rp = e->repeatPattern(); | 402 | rp = e->repeatPattern(); |
403 | setRepeatLabel(); | 403 | setRepeatLabel(); |
404 | } | 404 | } |
405 | // deleting sounds like a nice idea... | ||
406 | delete e; | ||
405 | } | 407 | } |
406 | 408 | ||
407 | void DateEntry::slotChangeStartOfWeek( bool onMonday ) | 409 | void DateEntry::slotChangeStartOfWeek( bool onMonday ) |
408 | { | 410 | { |
409 | startWeekOnMonday = onMonday; | 411 | startWeekOnMonday = onMonday; |
410 | } | 412 | } |
411 | 413 | ||
412 | Event DateEntry::event() | 414 | Event DateEntry::event() |
413 | { | 415 | { |
414 | Event ev; | 416 | Event ev; |
415 | Event::SoundTypeChoice st; | 417 | Event::SoundTypeChoice st; |
416 | ev.setDescription( comboDescription->currentText() ); | 418 | ev.setDescription( comboDescription->currentText() ); |