summaryrefslogtreecommitdiff
path: root/library
authoreilers <eilers>2004-08-29 12:38:28 (UTC)
committer eilers <eilers>2004-08-29 12:38:28 (UTC)
commit496157cb35b8f90e73770fc43c9a63534baebf33 (patch) (side-by-side diff)
tree2322a2e34278cc9649b4522cd2c1cd4398a56a01 /library
parent2bc77ab7c6dd7310f95e70d46f4bfc55a84f32cf (diff)
downloadopie-496157cb35b8f90e73770fc43c9a63534baebf33.zip
opie-496157cb35b8f90e73770fc43c9a63534baebf33.tar.gz
opie-496157cb35b8f90e73770fc43c9a63534baebf33.tar.bz2
Added #ifndef QT_NO_SOUND to compile correctly if sound is disabled..
(Important for MAC)
Diffstat (limited to 'library') (more/less context) (ignore whitespace changes)
-rw-r--r--library/sound.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/library/sound.cpp b/library/sound.cpp
index d1e2388..42f7698 100644
--- a/library/sound.cpp
+++ b/library/sound.cpp
@@ -246,8 +246,9 @@ void Sound::soundAlarm()
To sound an audible system alarm, call the static method soundAlarm()
\ingroup qtopiaemb
*/
-
+#ifndef QT_NO_SOUND
#include "sound.moc"
+#endif