--- a/QTfrontend/ui/widget/chatwidget.cpp Wed Apr 25 17:44:48 2012 +0200
+++ b/QTfrontend/ui/widget/chatwidget.cpp Thu Apr 26 07:22:05 2012 +0200
@@ -37,7 +37,7 @@
#include <QMessageBox>
-#include "HWDataManager.h"
+#include "DataManager.h"
#include "hwconsts.h"
#include "gameuiconfig.h"
@@ -126,7 +126,7 @@
if (orgStyleSheet.isEmpty())
{
// load external stylesheet if there is any
- QFile extFile(HWDataManager::instance().findFileForRead("css/chat.css"));
+ QFile extFile(DataManager::instance().findFileForRead("css/chat.css"));
QFile resFile(":/res/css/chat.css");
@@ -256,11 +256,11 @@
foreach (QString vp, vpList)
{
- m_helloSounds.append(HWDataManager::instance().findFileForRead(
+ m_helloSounds.append(DataManager::instance().findFileForRead(
QString("Sounds/voices/%1/Hello.ogg").arg(vp)));
}
- m_hilightSound = HWDataManager::instance().findFileForRead(
+ m_hilightSound = DataManager::instance().findFileForRead(
"Sounds/beep.ogg");
}
@@ -986,7 +986,7 @@
void HWChatWidget::saveStyleSheet()
{
QString dest =
- HWDataManager::instance().findFileForWrite("css/chat.css");
+ DataManager::instance().findFileForWrite("css/chat.css");
QFile file(dest);
if (file.open(QIODevice::WriteOnly | QIODevice::Text))