1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Simplify hardcoding qt version in settings

This commit is contained in:
agilob 2015-11-02 19:44:17 +00:00
parent 0b6fc751cb
commit 3675428c65
No known key found for this signature in database
GPG Key ID: 296F0B764741106C
2 changed files with 2 additions and 3 deletions

View File

@ -46,8 +46,7 @@ void AboutForm::replaceVersions()
QString::number(TOX_VERSION_MAJOR) + "." +
QString::number(TOX_VERSION_MINOR) + "." +
QString::number(TOX_VERSION_PATCH)));
bodyUI->qtVersion->setText(
bodyUI->qtVersion->text().replace("$QTVERSION", QT_VERSION_STR));
bodyUI->qtVersion->setText(tr("Qt version:") + " " + QT_VERSION_STR);
}
AboutForm::~AboutForm()

View File

@ -137,7 +137,7 @@
<item row="2" column="1">
<widget class="QLabel" name="qtVersion">
<property name="text">
<string>Qt version: $QTVERSION</string>
<string>Qt version:</string>
</property>
</widget>
</item>