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

display build version in the launcher

This commit is contained in:
Andrey Filipenkov 2022-09-30 11:27:03 +03:00
parent a11135152c
commit 4a1933bac3
2 changed files with 15 additions and 0 deletions

View File

@ -115,6 +115,7 @@ CSettingsView::CSettingsView(QWidget * parent)
{
ui->setupUi(this);
ui->labelBuildVersion->setText(QString::fromStdString(GameConstants::VCMI_VERSION));
loadSettings();
}

View File

@ -652,6 +652,20 @@
</property>
</widget>
</item>
<item row="13" column="6">
<widget class="QLabel" name="labelBuildVersionDesc">
<property name="text">
<string>Build version</string>
</property>
</widget>
</item>
<item row="13" column="7" colspan="3">
<widget class="QLabel" name="labelBuildVersion">
<property name="text">
<string notr="true"/>
</property>
</widget>
</item>
</layout>
</widget>
<resources/>