QTfrontend/ui/widget/qpushbuttonwithsound.cpp
changeset 6930 d187ea93fc4f
parent 6700 e04da46ee43c
child 7793 3c21da93db9f
--- a/QTfrontend/ui/widget/qpushbuttonwithsound.cpp	Wed Apr 25 17:44:48 2012 +0200
+++ b/QTfrontend/ui/widget/qpushbuttonwithsound.cpp	Thu Apr 26 07:22:05 2012 +0200
@@ -2,7 +2,7 @@
 #include <QDir>
 
 #include "qpushbuttonwithsound.h"
-#include "HWDataManager.h"
+#include "DataManager.h"
 #include "SDLInteraction.h"
 #include "hwform.h"
 #include "gameuiconfig.h"
@@ -19,7 +19,7 @@
     if ( !isSoundEnabled || !HWForm::config->isFrontendSoundEnabled())
         return;
 
-    HWDataManager & dataMgr = HWDataManager::instance();
+    DataManager & dataMgr = DataManager::instance();
 
     if (this->isEnabled())
         SDLInteraction::instance().playSoundFile(dataMgr.findFileForRead("Sounds/roperelease.ogg"));