-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 | } |