Skip to content

Commit

Permalink
fix retranslateUi
Browse files Browse the repository at this point in the history
  • Loading branch information
Syping committed Jul 30, 2018
1 parent f151035 commit 1701492
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ProfileInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down
2 changes: 1 addition & 1 deletion UserInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit 1701492

Please sign in to comment.