QTfrontend/chatwidget.cpp
changeset 3019 d6e19f35d98d
parent 2948 3f21a9dc93d0
child 3058 2ebc20485344
--- a/QTfrontend/chatwidget.cpp	Thu Mar 18 02:55:42 2010 +0000
+++ b/QTfrontend/chatwidget.cpp	Thu Mar 18 09:55:22 2010 +0000
@@ -39,7 +39,7 @@
     this->gameSettings = gameSettings;
     this->sdli = sdli;
     this->notify = notify;
-    if(notify && gameSettings->value("audio/frontendsound", true).toBool()) {
+    if(notify && gameSettings->value("frontend/sound", true).toBool()) {
        QDir tmpdir;
 
        tmpdir.cd(datadir->absolutePath());
@@ -238,7 +238,7 @@
     updateIcon(item);
     chatNicks->addItem(item);
 
-    if(notifyNick && notify && gameSettings->value("audio/frontendsound", true).toBool()) {
+    if(notifyNick && notify && gameSettings->value("frontend/sound", true).toBool()) {
        Mix_PlayChannel(-1, sound[rand()%4], 0);
     }
 }