aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmd.cpp
diff options
context:
space:
mode:
authorSaturn&Eric <[email protected]>2024-01-30 05:38:51 +0000
committerGitHub <[email protected]>2024-01-30 05:38:51 +0000
commit60b8aafec9b59da71ae5c36708f5533870c2f499 (patch)
tree2118b1847c356a5b0a53a13785f1b4f932fefa9f /src/cmd.cpp
parentMerge pull request #126 from saturneric/dev/2.1.1/main (diff)
parentdoc: update translations (diff)
downloadGpgFrontend-60b8aafec9b59da71ae5c36708f5533870c2f499.tar.gz
GpgFrontend-60b8aafec9b59da71ae5c36708f5533870c2f499.zip
Merge pull request #127 from saturneric/dev/2.1.1/main
Develop 2.1.2.2
Diffstat (limited to 'src/cmd.cpp')
-rw-r--r--src/cmd.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/cmd.cpp b/src/cmd.cpp
index f060a16b..cef0a984 100644
--- a/src/cmd.cpp
+++ b/src/cmd.cpp
@@ -46,14 +46,15 @@ auto PrintVersion() -> int {
<< "v" << VERSION_MAJOR << "." << VERSION_MINOR << "." << VERSION_PATCH
<< '\n';
stream << "Copyright (©) 2021 Saturneric <[email protected]>" << '\n'
- << QObject::tr(
+ << QCoreApplication::tr(
"This is free software; see the source for copying conditions.")
<< '\n'
<< '\n';
- stream << QObject::tr("Build DateTime: ") << BUILD_TIMESTAMP << '\n'
- << QObject::tr("Build Version: ") << BUILD_VERSION << '\n'
- << QObject::tr("Source Code Version: ") << GIT_VERSION << '\n';
+ stream << QCoreApplication::tr("Build DateTime: ") << BUILD_TIMESTAMP << '\n'
+ << QCoreApplication::tr("Build Version: ") << BUILD_VERSION << '\n'
+ << QCoreApplication::tr("Source Code Version: ") << GIT_VERSION
+ << '\n';
stream << Qt::endl;
return 0;