author | sandman <sandman> | 2002-06-09 23:40:20 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-06-09 23:40:20 (UTC) |
commit | 4f04ef71be8f36e6251f4e6e7fafbfc36fba415c (patch) (unidiff) | |
tree | fd4d907f36fc5291ff9d91237bebaf872313f18d /core/launcher/desktop.cpp | |
parent | 65b1a790493272a38b0ac44e219d5186168fabac (diff) | |
download | opie-4f04ef71be8f36e6251f4e6e7fafbfc36fba415c.zip opie-4f04ef71be8f36e6251f4e6e7fafbfc36fba415c.tar.gz opie-4f04ef71be8f36e6251f4e6e7fafbfc36fba415c.tar.bz2 |
Fixed Alarm sound handling
-rw-r--r-- | core/launcher/desktop.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/core/launcher/desktop.cpp b/core/launcher/desktop.cpp index 6771a66..693e77f 100644 --- a/core/launcher/desktop.cpp +++ b/core/launcher/desktop.cpp | |||
@@ -38,9 +38,7 @@ | |||
38 | #include <qpe/timeconversion.h> | 38 | #include <qpe/timeconversion.h> |
39 | #include <qpe/qcopenvelope_qws.h> | 39 | #include <qpe/qcopenvelope_qws.h> |
40 | #include <qpe/global.h> | 40 | #include <qpe/global.h> |
41 | #ifdef QT_QWS_CUSTOM | 41 | #include <qpe/custom.h> |
42 | #include "qpe/custom.h" | ||
43 | #endif | ||
44 | 42 | ||
45 | #include <qgfx_qws.h> | 43 | #include <qgfx_qws.h> |
46 | #include <qmainwindow.h> | 44 | #include <qmainwindow.h> |
@@ -769,7 +767,7 @@ void Desktop::screenClick() | |||
769 | void Desktop::soundAlarm() | 767 | void Desktop::soundAlarm() |
770 | { | 768 | { |
771 | #ifdef CUSTOM_SOUND_ALARM | 769 | #ifdef CUSTOM_SOUND_ALARM |
772 | if (alarmsound) | 770 | if (qpedesktop->alarmsound) |
773 | CUSTOM_SOUND_ALARM; | 771 | CUSTOM_SOUND_ALARM; |
774 | #endif | 772 | #endif |
775 | } | 773 | } |