aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2023-04-06 03:55:59 +0000
committerSaturneric <[email protected]>2023-04-06 03:55:59 +0000
commitc256f8440e666daf822dd657dbe3fd0a7c3c2d22 (patch)
tree158da424c6dcabd2967d166a6b8447a54d3e680c
parentfeat: add check for key db and improve ui (diff)
downloadGpgFrontend-c256f8440e666daf822dd657dbe3fd0a7c3c2d22.tar.gz
GpgFrontend-c256f8440e666daf822dd657dbe3fd0a7c3c2d22.zip
fix: solve compile issue on windows
-rw-r--r--src/ui/dialog/gnupg/GnuPGControllerDialog.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ui/dialog/gnupg/GnuPGControllerDialog.cpp b/src/ui/dialog/gnupg/GnuPGControllerDialog.cpp
index efc7be5e..9214a4fd 100644
--- a/src/ui/dialog/gnupg/GnuPGControllerDialog.cpp
+++ b/src/ui/dialog/gnupg/GnuPGControllerDialog.cpp
@@ -29,10 +29,8 @@
#include "GnuPGControllerDialog.h"
#include "SignalStation.h"
-#include "UserInterfaceUtils.h"
#include "core/function/GlobalSettingStation.h"
#include "ui/dialog/GeneralDialog.h"
-#include "ui/main_window/MainWindow.h"
#include "ui_GnuPGControllerDialog.h"
namespace GpgFrontend::UI {
@@ -395,7 +393,7 @@ bool GnuPGControllerDialog::check_custom_gnupg_path(std::string path) {
_("Target GnuPG Path is not an absolute path."));
}
#ifdef WINDOWS
- QFileInfo gpgconf_info(selected_custom_gnupg_install_path + "/gpgconf.exe");
+ QFileInfo gpgconf_info(path_qstr + "/gpgconf.exe");
#else
QFileInfo gpgconf_info(path_qstr + "/gpgconf");
#endif