1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-22 22:13:35 +02:00

Try to fix compilation

This commit is contained in:
nordsoft 2022-08-26 22:58:46 +04:00
parent bb3c1879b7
commit e4ac496c07

View File

@ -128,7 +128,7 @@ void UpdateDialog::loadFromJson(const JsonNode & node)
else if(updateType == "critical")
bgColor = "red";
ui->versionLabel->setStyleSheet(QLatin1String("QLabel { background-color : %1; color : black; }").arg(bgColor));
ui->versionLabel->setStyleSheet(QString("QLabel { background-color : %1; color : black; }").arg(bgColor));
ui->versionLabel->setText(QString::fromStdString(newVersion));
ui->plainTextEdit->setPlainText(QString::fromStdString(node["changeLog"].String()));