aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmd.cpp')
-rw-r--r--src/cmd.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/cmd.cpp b/src/cmd.cpp
index 1f3182fe..06222431 100644
--- a/src/cmd.cpp
+++ b/src/cmd.cpp
@@ -28,11 +28,16 @@
#include "cmd.h"
+#include <qdatetime.h>
#include <qglobal.h>
+#include <qloggingcategory.h>
+#include <qstring.h>
+#include <qtextstream.h>
#include "core/utils/BuildInfoUtils.h"
// GpgFrontend
+
#include "GpgFrontendContext.h"
#include "test/GpgFrontendTest.h"
@@ -40,7 +45,7 @@ namespace GpgFrontend {
auto PrintVersion() -> int {
QTextStream stream(stdout);
- stream << PROJECT_NAME << " " << GetProjectVersion() << '\n';
+ stream << GetProjectName() << " " << GetProjectVersion() << '\n';
stream << "Copyright (©) 2021 Saturneric <[email protected]>" << '\n'
<< QCoreApplication::tr(
"This is free software; see the source for copying conditions.")