-rw-r--r-- | bin/kdepim/WhatsNew.txt | 3 | ||||
-rw-r--r-- | kalarmd/alarmdialog.cpp | 5 |
2 files changed, 5 insertions, 3 deletions
diff --git a/bin/kdepim/WhatsNew.txt b/bin/kdepim/WhatsNew.txt index 97c8154..be0d2b2 100644 --- a/bin/kdepim/WhatsNew.txt +++ b/bin/kdepim/WhatsNew.txt | |||
@@ -1,15 +1,16 @@ | |||
1 | Info about the changes in new versions of KDE-Pim/Pi | 1 | Info about the changes in new versions of KDE-Pim/Pi |
2 | 2 | ||
3 | ********** VERSION 2.0.26 ************ | 3 | ********** VERSION 2.0.26 ************ |
4 | 4 | ||
5 | And again fixed some bugs. | ||
6 | Added two more fields to the KA/Pi view config: | 5 | Added two more fields to the KA/Pi view config: |
7 | A "Mobile (home)" and a "Mobile (work)" field. | 6 | A "Mobile (home)" and a "Mobile (work)" field. |
8 | Fixed utf8 import (e.g. for Japaneese text) in KA/Pi. | 7 | Fixed utf8 import (e.g. for Japaneese text) in KA/Pi. |
9 | 8 | ||
9 | Some alarm applet enhancements, e.g. sound stops automatically if value of suspend spinbox changes. | ||
10 | And again fixed some more small bugs. | ||
10 | 11 | ||
11 | ********** VERSION 2.0.25 ************ | 12 | ********** VERSION 2.0.25 ************ |
12 | 13 | ||
13 | And again fixed some bugs. | 14 | And again fixed some bugs. |
14 | 15 | ||
15 | ********** VERSION 2.0.24 ************ | 16 | ********** VERSION 2.0.24 ************ |
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 | |||
265 | void AlarmDialog::forceRepaint() | 265 | void AlarmDialog::forceRepaint() |
266 | { | 266 | { |
267 | 267 | ||
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 | } |
274 | void AlarmDialog::spinBoxChanged( int v ) | 275 | void AlarmDialog::spinBoxChanged( int v ) |
275 | { | 276 | { |
276 | okbut->setDefault( false ); | 277 | okbut->setDefault( false ); |
@@ -281,15 +282,15 @@ void AlarmDialog::playSound () | |||
281 | { | 282 | { |
282 | 283 | ||
283 | if (mStopAlarm ) | 284 | if (mStopAlarm ) |
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; |
293 | #ifdef DESKTOP_VERSION | 294 | #ifdef DESKTOP_VERSION |
294 | mPlayWav = true; | 295 | mPlayWav = true; |
295 | #endif | 296 | #endif |