aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/GpgFrontendApplication.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-01-15 17:02:40 +0000
committersaturneric <[email protected]>2024-01-15 17:02:40 +0000
commitd54f52ce70cba15f5199e93d3c6fb122143b0526 (patch)
treef75224f8d020c4c7498bd1ffb97c834e12ec8a2c /src/ui/GpgFrontendApplication.cpp
parentfix: clean up useless code and make life easier (diff)
downloadGpgFrontend-d54f52ce70cba15f5199e93d3c6fb122143b0526.tar.gz
GpgFrontend-d54f52ce70cba15f5199e93d3c6fb122143b0526.zip
refactor: remove libconfig++ form project
Diffstat (limited to '')
-rw-r--r--src/ui/GpgFrontendApplication.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/ui/GpgFrontendApplication.cpp b/src/ui/GpgFrontendApplication.cpp
index df59d0c6..f7fc5635 100644
--- a/src/ui/GpgFrontendApplication.cpp
+++ b/src/ui/GpgFrontendApplication.cpp
@@ -41,12 +41,14 @@ GpgFrontendApplication::GpgFrontendApplication(int &argc, char *argv[])
#endif
// set the extra information of the build
- this->setApplicationVersion(BUILD_VERSION);
- this->setApplicationName(PROJECT_NAME);
- this->setQuitOnLastWindowClosed(true);
+ GpgFrontendApplication::setApplicationVersion(BUILD_VERSION);
+ GpgFrontendApplication::setApplicationName(PROJECT_NAME);
+ GpgFrontendApplication::setApplicationDisplayName(PROJECT_NAME);
+ GpgFrontendApplication::setOrganizationName(PROJECT_NAME);
+ GpgFrontendApplication::setQuitOnLastWindowClosed(true);
// don't show icons in menus
- this->setAttribute(Qt::AA_DontShowIconsInMenus);
+ GpgFrontendApplication::setAttribute(Qt::AA_DontShowIconsInMenus);
// unicode in source
QTextCodec::setCodecForLocale(QTextCodec::codecForName("utf-8"));