-rw-r--r-- | kalarmd/alarmdialog.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/kalarmd/alarmdialog.cpp b/kalarmd/alarmdialog.cpp index d72a8c2..1cda534 100644 --- a/kalarmd/alarmdialog.cpp +++ b/kalarmd/alarmdialog.cpp | |||
@@ -268,6 +268,7 @@ void AlarmDialog::forceRepaint() | |||
268 | showNormal(); | 268 | showNormal(); |
269 | setActiveWindow(); | 269 | setActiveWindow(); |
270 | raise(); | 270 | raise(); |
271 | mSuspendSpin->setFocus(); | ||
271 | playSoundTimer->start( 1000, true ); | 272 | playSoundTimer->start( 1000, true ); |
272 | 273 | ||
273 | } | 274 | } |
@@ -284,9 +285,9 @@ void AlarmDialog::playSound () | |||
284 | return; | 285 | return; |
285 | if ( mSilent ) | 286 | if ( mSilent ) |
286 | return; | 287 | return; |
287 | showNormal(); | 288 | //showNormal(); |
288 | setActiveWindow(); | 289 | setActiveWindow(); |
289 | raise(); | 290 | //raise(); |
290 | mSuspendSpin->setFocus(); | 291 | mSuspendSpin->setFocus(); |
291 | if ( alarmCounter < maxAlarmReplay && ! mSilent) { | 292 | if ( alarmCounter < maxAlarmReplay && ! mSilent) { |
292 | ++alarmCounter; | 293 | ++alarmCounter; |