utf8fix
This commit is contained in:
@@ -230,7 +230,7 @@ void ConfigFile::fillBuffer() {
|
|||||||
|
|
||||||
const char *tmpStr = conf->Attribute("value");
|
const char *tmpStr = conf->Attribute("value");
|
||||||
if (tmpStr) tempString = tmpStr;
|
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!"; }
|
else { cout << "Could not find the element to fill the config-buffer with!"; }
|
||||||
|
|
||||||
|
|||||||
@@ -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->pos().x(),10)+" "+QString::number(this->pos().y(),10));
|
||||||
// textBrowser_Log->append(QString::number(this->x(),10)+" "+QString::number(this->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() {
|
mainWindowImpl::~mainWindowImpl() {
|
||||||
|
|||||||
Reference in New Issue
Block a user