summaryrefslogtreecommitdiffabout
path: root/kalarmd/alarmdialog.cpp
Side-by-side diff
Diffstat (limited to 'kalarmd/alarmdialog.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--kalarmd/alarmdialog.cpp5
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
@@ -265,12 +265,13 @@ bool AlarmDialog::eventNotification( QString mess, int replay , QString fn, boo
void AlarmDialog::forceRepaint()
{
showNormal();
setActiveWindow();
raise();
+ mSuspendSpin->setFocus();
playSoundTimer->start( 1000, true );
}
void AlarmDialog::spinBoxChanged( int v )
{
okbut->setDefault( false );
@@ -281,15 +282,15 @@ void AlarmDialog::playSound ()
{
if (mStopAlarm )
return;
if ( mSilent )
return;
- showNormal();
+ //showNormal();
setActiveWindow();
- raise();
+ //raise();
mSuspendSpin->setFocus();
if ( alarmCounter < maxAlarmReplay && ! mSilent) {
++alarmCounter;
#ifdef DESKTOP_VERSION
mPlayWav = true;
#endif