diff options
author | Saturn&Eric <[email protected]> | 2021-12-05 06:25:17 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2021-12-05 07:33:00 +0000 |
commit | c6a0a8db19c92a7c9ca0569e2c24a3503071c574 (patch) | |
tree | 1b9972e825962dd4b4edaa1ab0111679b450328b /src/main.cpp | |
parent | Update Ci Configurre File (diff) | |
parent | Merge branch 'main' of github.com:saturneric/GpgFrontend (diff) | |
download | GpgFrontend-c6a0a8db19c92a7c9ca0569e2c24a3503071c574.tar.gz GpgFrontend-c6a0a8db19c92a7c9ca0569e2c24a3503071c574.zip |
Merge branch 'main' into develop
1. Fix issues noticed by codacy.
2. Fix CI Configure Files.
3. Modified Porject Configuration.
4. Fixed Error in Source Code.
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/main.cpp b/src/main.cpp index 82cfe9c1..ee542ff0 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -39,10 +39,6 @@ int main(int argc, char* argv[]) { // Qt App QApplication app(argc, argv); - // get application path - auto app_path = - GpgFrontend::UI::GlobalSettingStation::GetInstance().GetAppDir(); - // logging system init_logging(); @@ -53,7 +49,7 @@ int main(int argc, char* argv[]) { QApplication::setApplicationVersion(BUILD_VERSION); QApplication::setApplicationName(PROJECT_NAME); - // dont show icons in menus + // don't show icons in menus QApplication::setAttribute(Qt::AA_DontShowIconsInMenus); // unicode in source @@ -168,6 +164,7 @@ void init_locale() { bindtextdomain(PROJECT_NAME, GpgFrontend::UI::GlobalSettingStation::GetInstance() .GetLocaleDir() - .string().c_str()); + .string() + .c_str()); textdomain(PROJECT_NAME); } |