summaryrefslogtreecommitdiff
path: root/src/gui/setup.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-01-30 14:23:53 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-01-30 14:23:53 +0000
commit481254543d8baa596ee062840e007f0952dfac86 (patch)
treeb86fe6cbbe9b07d2fc449556563607c66601664d /src/gui/setup.cpp
parent0876c4969290cb01af8dcc2f73218da8922c2cad (diff)
downloadmana-481254543d8baa596ee062840e007f0952dfac86.tar.gz
mana-481254543d8baa596ee062840e007f0952dfac86.tar.bz2
mana-481254543d8baa596ee062840e007f0952dfac86.tar.xz
mana-481254543d8baa596ee062840e007f0952dfac86.zip
Sounds is now available for those on Windows.
Diffstat (limited to 'src/gui/setup.cpp')
-rw-r--r--src/gui/setup.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gui/setup.cpp b/src/gui/setup.cpp
index 6f7feb8f..6305d56a 100644
--- a/src/gui/setup.cpp
+++ b/src/gui/setup.cpp
@@ -35,10 +35,6 @@
#include "ok_dialog.h"
#include "../main.h"
-#ifndef WIN32
-extern Sound sound;
-#endif /* no WIN32 */
-
struct Modes {
int height, width;
char *desc;
@@ -184,7 +180,6 @@ void Setup::action(const std::string& eventId)
}
// Sound settings
-#ifndef WIN32
if (soundCheckBox->isMarked()) {
config.setValue("sound",1);
try {
@@ -198,7 +193,6 @@ void Setup::action(const std::string& eventId)
config.setValue("sound", 0);
sound.close();
}
-#endif /* not WIN32 */
} else if (eventId == "cancel") {
setVisible(false);
}