QTfrontend/ui/widget/qpushbuttonwithsound.cpp
branchphysfslayer
changeset 8049 133e22b5c410
parent 7794 ab7b94c03bc9
child 8326 023a71940f26
--- a/QTfrontend/ui/widget/qpushbuttonwithsound.cpp	Sat Nov 17 22:07:17 2012 +0400
+++ b/QTfrontend/ui/widget/qpushbuttonwithsound.cpp	Sat Nov 17 22:45:30 2012 +0400
@@ -36,8 +36,6 @@
     if ( !isSoundEnabled || !HWForm::config->isFrontendSoundEnabled())
         return;
 
-    DataManager & dataMgr = DataManager::instance();
-
     if (this->isEnabled())
-        SDLInteraction::instance().playSoundFile(dataMgr.findFileForRead("Sounds/roperelease.ogg"));
+        SDLInteraction::instance().playSoundFile("/Sounds/roperelease.ogg");
 }