Browse Source

fix retranslateUi

1.6.x
Syping 3 years ago
parent
commit
17014925c5
  1. 2
      ProfileInterface.cpp
  2. 2
      UserInterface.cpp

2
ProfileInterface.cpp

@ -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));

2
UserInterface.cpp

@ -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));

Loading…
Cancel
Save