diff options
author | saturneric <[email protected]> | 2024-01-17 11:39:47 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2024-01-17 11:39:47 +0000 |
commit | e352e8e6b8d03a24ef5d52eef3e4d370807b5bbd (patch) | |
tree | 9a59f0b573a845644afe4b8857a89c4b28bdcc0d /src/init.cpp | |
parent | fix: solve the gnupg tab options info not shown issue (diff) | |
download | GpgFrontend-e352e8e6b8d03a24ef5d52eef3e4d370807b5bbd.tar.gz GpgFrontend-e352e8e6b8d03a24ef5d52eef3e4d370807b5bbd.zip |
fix: find and slove some bugs
Diffstat (limited to 'src/init.cpp')
-rw-r--r-- | src/init.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/init.cpp b/src/init.cpp index 5eebcb47..4f9cf821 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -28,11 +28,6 @@ #include "init.h" -#include <qcoreapplication.h> - -#include <filesystem> -#include <string> - #include "core/GpgCoreInit.h" #include "core/function/GlobalSettingStation.h" #include "core/thread/TaskRunnerGetter.h" @@ -95,7 +90,7 @@ void InitGlobalPathEnv() { (QDir(custom_gnupg_install_path).absolutePath() + ":" + path_value) .toUtf8(), 1); - std::string modified_path_value = getenv("PATH"); + QString modified_path_value = getenv("PATH"); GF_MAIN_LOG_DEBUG("Modified System PATH: {}", modified_path_value); } } |