beep on highlight
authorsheepluva
Sun, 30 Oct 2011 06:22:47 +0100
changeset 6238 b344159da248
parent 6237 a66029015c18
child 6239 7ede83d81fc6
beep on highlight
QTfrontend/main.cpp
QTfrontend/ui/widget/chatwidget.cpp
share/hedgewars/Data/Sounds/beep.ogg
--- a/QTfrontend/main.cpp	Sat Oct 29 20:47:40 2011 +0200
+++ b/QTfrontend/main.cpp	Sun Oct 30 06:22:47 2011 +0100
@@ -30,7 +30,6 @@
 #include "hwform.h"
 #include "hwconsts.h"
 
-//#include "HWConfigManager.h"
 #include "HWDataManager.h"
 
 #ifdef _WIN32
@@ -154,7 +153,6 @@
         checkForDir(cfgdir->absolutePath() + "/Screenshots");
         checkForDir(cfgdir->absolutePath() + "/Teams");
         checkForDir(cfgdir->absolutePath() + "/Logs");
-        checkForDir(cfgdir->absolutePath() + "/Profiles");
     }
 
     datadir->cd(bindir->absolutePath());
@@ -167,9 +165,6 @@
         return 1;
     }
 
-
-    /*HWConfigManager & cfgMgr = HWConfigManager::instance();
-    cfgMgr.setPath(cfgdir->absolutePath());*/
     HWDataManager & dataMgr = HWDataManager::instance();
 
     {
--- a/QTfrontend/ui/widget/chatwidget.cpp	Sat Oct 29 20:47:40 2011 +0200
+++ b/QTfrontend/ui/widget/chatwidget.cpp	Sun Oct 30 06:22:47 2011 +0100
@@ -250,8 +250,11 @@
         if (notify)
             m_helloSound = HWDataManager::instance().findFileForRead(
                             "Sounds/voices/Classic/Hello.ogg");
+
         m_hilightSound = HWDataManager::instance().findFileForRead(
-                        "Sounds/1C.ogg");
+                        "Sounds/beep.ogg");
+
+        //m_hilightSound = m_helloSound;//"Sounds/beep.ogg";
     }
 
     mainLayout.setSpacing(1);
Binary file share/hedgewars/Data/Sounds/beep.ogg has changed