diff --git a/src/config/configfile.cpp b/src/config/configfile.cpp index a7a9d19d..2c19f260 100644 --- a/src/config/configfile.cpp +++ b/src/config/configfile.cpp @@ -230,7 +230,7 @@ void ConfigFile::fillBuffer() { const char *tmpStr = conf->Attribute("value"); if (tmpStr) tempString = tmpStr; - configBufferList[i].defaultValue = myQtToolsInterface->stringToUtf8(tempString); + configBufferList[i].defaultValue = tempString; } else { cout << "Could not find the element to fill the config-buffer with!"; } diff --git a/src/gui/qt/mainwindow/mainwindowimpl.cpp b/src/gui/qt/mainwindow/mainwindowimpl.cpp index 479b603f..8f5123e0 100755 --- a/src/gui/qt/mainwindow/mainwindowimpl.cpp +++ b/src/gui/qt/mainwindow/mainwindowimpl.cpp @@ -606,6 +606,9 @@ mainWindowImpl::mainWindowImpl(ConfigFile *c, QMainWindow *parent) // textBrowser_Log->append(QString::number(this->pos().x(),10)+" "+QString::number(this->pos().y(),10)); // textBrowser_Log->append(QString::number(this->x(),10)+" "+QString::number(this->y(),10)); +// playerNameLabelArray[1]->setText(QString::fromUtf8(myConfig->readConfigString("Opponent1Name").c_str())); + + } mainWindowImpl::~mainWindowImpl() {