aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cmd.cpp9
-rw-r--r--src/ui/GpgFrontendApplication.cpp1
2 files changed, 6 insertions, 4 deletions
diff --git a/src/cmd.cpp b/src/cmd.cpp
index 092086fc..2f972329 100644
--- a/src/cmd.cpp
+++ b/src/cmd.cpp
@@ -52,15 +52,18 @@ inline auto Tr(const char* t) -> QString { return QCoreApplication::tr(t); }
auto PrintVersion() -> int {
QTextStream stream(stdout);
stream << GetProjectName() << " " << GetProjectVersion() << '\n';
- stream << "Copyright (©) 2021 Saturneric <[email protected]>" << '\n'
+ stream << QString("Copyright (©) 2021-%1 Saturneric <[email protected]>")
+ .arg(QDate::currentDate().year())
+ << '\n'
<< Tr("This is free software; see the source for copying conditions.")
<< '\n'
<< '\n';
- stream << Tr("Build DateTime: ")
+ stream << Tr("Build Date & Time: ")
<< QLocale().toString(GetProjectBuildTimestamp()) << '\n'
<< Tr("Build Version: ") << GetProjectBuildVersion() << '\n'
- << Tr("Source Code Version: ") << GetProjectBuildGitVersion() << '\n';
+ << Tr("Source Code Infomation: ") << GetProjectBuildGitVersion()
+ << '\n';
stream << Qt::endl;
return 0;
diff --git a/src/ui/GpgFrontendApplication.cpp b/src/ui/GpgFrontendApplication.cpp
index 2151fd60..94d8f808 100644
--- a/src/ui/GpgFrontendApplication.cpp
+++ b/src/ui/GpgFrontendApplication.cpp
@@ -49,7 +49,6 @@ GpgFrontendApplication::GpgFrontendApplication(int &argc, char *argv[])
" " +
QString("Develop (%1)").arg(GetProjectBuildGitCommitHash().last(6));
}
- LOG_I() << "Application Display Name: " << application_display_name;
// set the extra information of the build
GpgFrontendApplication::setApplicationVersion(GetProjectVersion());