fix retranslateUi
This commit is contained in:
parent
f151035574
commit
17014925c5
2 changed files with 2 additions and 2 deletions
|
@ -1683,7 +1683,7 @@ void ProfileInterface::retranslateUi()
|
||||||
QString appVersion = GTA5SYNC_APPVER;
|
QString appVersion = GTA5SYNC_APPVER;
|
||||||
#ifndef GTA5SYNC_BUILDTYPE_REL
|
#ifndef GTA5SYNC_BUILDTYPE_REL
|
||||||
#ifdef GTA5SYNC_COMMIT
|
#ifdef GTA5SYNC_COMMIT
|
||||||
appVersion = appVersion % "-" % GTA5SYNC_COMMIT;
|
if (!appVersion.contains("-")) { appVersion = appVersion % "-" % GTA5SYNC_COMMIT; }
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
ui->labVersion->setText(QString("%1 %2").arg(GTA5SYNC_APPSTR, appVersion));
|
ui->labVersion->setText(QString("%1 %2").arg(GTA5SYNC_APPSTR, appVersion));
|
||||||
|
|
|
@ -642,7 +642,7 @@ void UserInterface::retranslateUi()
|
||||||
QString appVersion = GTA5SYNC_APPVER;
|
QString appVersion = GTA5SYNC_APPVER;
|
||||||
#ifndef GTA5SYNC_BUILDTYPE_REL
|
#ifndef GTA5SYNC_BUILDTYPE_REL
|
||||||
#ifdef GTA5SYNC_COMMIT
|
#ifdef GTA5SYNC_COMMIT
|
||||||
appVersion = appVersion % "-" % GTA5SYNC_COMMIT;
|
if (!appVersion.contains("-")) { appVersion = appVersion % "-" % GTA5SYNC_COMMIT; }
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
ui->labVersion->setText(QString("%1 %2").arg(GTA5SYNC_APPSTR, appVersion));
|
ui->labVersion->setText(QString("%1 %2").arg(GTA5SYNC_APPSTR, appVersion));
|
||||||
|
|
Loading…
Reference in a new issue