fix retranslateUi

This commit is contained in:
Syping 2018-07-30 02:54:51 +02:00
parent f151035574
commit 17014925c5
2 changed files with 2 additions and 2 deletions

View file

@ -1683,7 +1683,7 @@ void ProfileInterface::retranslateUi()
QString appVersion = GTA5SYNC_APPVER;
#ifndef GTA5SYNC_BUILDTYPE_REL
#ifdef GTA5SYNC_COMMIT
appVersion = appVersion % "-" % GTA5SYNC_COMMIT;
if (!appVersion.contains("-")) { appVersion = appVersion % "-" % GTA5SYNC_COMMIT; }
#endif
#endif
ui->labVersion->setText(QString("%1 %2").arg(GTA5SYNC_APPSTR, appVersion));

View file

@ -642,7 +642,7 @@ void UserInterface::retranslateUi()
QString appVersion = GTA5SYNC_APPVER;
#ifndef GTA5SYNC_BUILDTYPE_REL
#ifdef GTA5SYNC_COMMIT
appVersion = appVersion % "-" % GTA5SYNC_COMMIT;
if (!appVersion.contains("-")) { appVersion = appVersion % "-" % GTA5SYNC_COMMIT; }
#endif
#endif
ui->labVersion->setText(QString("%1 %2").arg(GTA5SYNC_APPSTR, appVersion));