summaryrefslogtreecommitdiff
path: root/src/resources/sounddb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/sounddb.cpp')
-rw-r--r--src/resources/sounddb.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/resources/sounddb.cpp b/src/resources/sounddb.cpp
index 9cf303322..beda71b88 100644
--- a/src/resources/sounddb.cpp
+++ b/src/resources/sounddb.cpp
@@ -21,6 +21,7 @@
#include "resources/sounddb.h"
#include "client.h"
+#include "configuration.h"
#include "logger.h"
#include "notifymanager.h"
@@ -38,7 +39,7 @@ void SoundDB::load()
{
unload();
- XML::Document *doc = new XML::Document("sounds.xml");
+ XML::Document *doc = new XML::Document(paths.getStringValue("soundsFile"));
XmlNodePtr root = doc->rootNode();
if (!root || !xmlNameEqual(root, "sounds"))