Merge pull request #1218 from flowln/bad_commit_string_in_bundled_package

Hide the Git commit entry on the About dialog when the build doesn't have git stuff support
This commit is contained in:
Sefa Eyeoglu 2023-06-17 18:04:54 +02:00 committed by GitHub
commit 12cd8a7bea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -82,6 +82,7 @@ Config::Config()
{ {
GIT_REFSPEC = "refs/heads/stable"; GIT_REFSPEC = "refs/heads/stable";
GIT_TAG = versionString(); GIT_TAG = versionString();
GIT_COMMIT = "";
} }
if (GIT_REFSPEC.startsWith("refs/heads/")) if (GIT_REFSPEC.startsWith("refs/heads/"))