Browse Source

fix retranslateUi

tags/1.6.0
Syping 1 year ago
parent
commit
17014925c5
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      ProfileInterface.cpp
  2. 1
    1
      UserInterface.cpp

+ 1
- 1
ProfileInterface.cpp 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));

+ 1
- 1
UserInterface.cpp 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));

Loading…
Cancel
Save