QTfrontend/ui/widget/gamecfgwidget.cpp
changeset 6930 d187ea93fc4f
parent 6744 7a4db08d291d
child 6952 7f70f37bbf08
--- a/QTfrontend/ui/widget/gamecfgwidget.cpp	Wed Apr 25 17:44:48 2012 +0200
+++ b/QTfrontend/ui/widget/gamecfgwidget.cpp	Thu Apr 26 07:22:05 2012 +0200
@@ -28,7 +28,7 @@
 
 #include "gamecfgwidget.h"
 #include "igbox.h"
-#include "HWDataManager.h"
+#include "DataManager.h"
 #include "hwconsts.h"
 #include "ammoSchemeModel.h"
 #include "proto.h"
@@ -64,7 +64,7 @@
         QString script = (*scriptList)[i].remove(".lua", Qt::CaseInsensitive);
         QList<QVariant> scriptInfo;
         scriptInfo.push_back(script);
-        QFile scriptCfgFile(HWDataManager::instance().findFileForRead(
+        QFile scriptCfgFile(DataManager::instance().findFileForRead(
                                 QString("Scripts/Multiplayer/%2.cfg").arg(script)));
         if (scriptCfgFile.exists() && scriptCfgFile.open(QFile::ReadOnly))
         {