diff --git a/ProfileInterface.cpp b/ProfileInterface.cpp
index 9eff454..26344c1 100644
--- a/ProfileInterface.cpp
+++ b/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));
diff --git a/UserInterface.cpp b/UserInterface.cpp
index 9e8d68e..23efa81 100644
--- a/UserInterface.cpp
+++ b/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));