summaryrefslogtreecommitdiffabout
path: root/kalarmd
authorzautrix <zautrix>2005-04-08 23:49:56 (UTC)
committer zautrix <zautrix>2005-04-08 23:49:56 (UTC)
commit513bbc29c27d1988eee07f65afb80a6e222a48a4 (patch) (side-by-side diff)
tree701c2fb304fe02a3fb3e90f286b05bb325ceb5a2 /kalarmd
parenta74c23d91e80343cd1ccfd1fe712958fad1d5891 (diff)
downloadkdepimpi-513bbc29c27d1988eee07f65afb80a6e222a48a4.zip
kdepimpi-513bbc29c27d1988eee07f65afb80a6e222a48a4.tar.gz
kdepimpi-513bbc29c27d1988eee07f65afb80a6e222a48a4.tar.bz2
wn
Diffstat (limited to 'kalarmd') (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