diff options
author | saturneric <[email protected]> | 2024-05-17 16:33:21 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-05-17 16:33:21 +0000 |
commit | 63dbe4a917d89c30b0bf5c45d65c2a2e9ccb907b (patch) | |
tree | 03d9ed3a0a7b13b3a9d0fbe8d942ffa6d1156b2a /src/core/utils/BuildInfoUtils.cpp | |
parent | fix: remove qt5compat and redirect dll output path of modules (diff) | |
download | GpgFrontend-63dbe4a917d89c30b0bf5c45d65c2a2e9ccb907b.tar.gz GpgFrontend-63dbe4a917d89c30b0bf5c45d65c2a2e9ccb907b.zip |
fix: cannot show version in about tab
Diffstat (limited to 'src/core/utils/BuildInfoUtils.cpp')
-rw-r--r-- | src/core/utils/BuildInfoUtils.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/utils/BuildInfoUtils.cpp b/src/core/utils/BuildInfoUtils.cpp index a7d914ef..261057b7 100644 --- a/src/core/utils/BuildInfoUtils.cpp +++ b/src/core/utils/BuildInfoUtils.cpp @@ -6,8 +6,9 @@ namespace GpgFrontend { auto GetProjectVersion() -> QString { - return QString("v") + VERSION_MAJOR + "." + VERSION_MINOR + "." + - VERSION_PATCH; + return (QStringList{} << "v" << VERSION_MAJOR << "." << VERSION_MINOR << "." + << VERSION_PATCH) + .join(""); } auto GetProjectBuildVersion() -> QString { return BUILD_VERSION; } |