From 4f04ef71be8f36e6251f4e6e7fafbfc36fba415c Mon Sep 17 00:00:00 2001 From: sandman Date: Sun, 09 Jun 2002 23:40:20 +0000 Subject: Fixed Alarm sound handling --- (limited to 'core') 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 @@ #include #include #include -#ifdef QT_QWS_CUSTOM -#include "qpe/custom.h" -#endif +#include #include #include @@ -769,7 +767,7 @@ void Desktop::screenClick() void Desktop::soundAlarm() { #ifdef CUSTOM_SOUND_ALARM - if (alarmsound) + if (qpedesktop->alarmsound) CUSTOM_SOUND_ALARM; #endif } -- cgit v0.9.0.2