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:
parent
0b6fc751cb
commit
3675428c65
|
@ -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()
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue
Block a user