aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2022-12-22 07:15:48 +0000
committerSaturneric <[email protected]>2022-12-22 07:15:48 +0000
commitb919ff9320c1915db79f836b5d00f6b7b31dfdec (patch)
treee6e53e192be69ff3d794a015c28220b1538a3a96
parentfeat: modify ui files (diff)
downloadGpgFrontend-b919ff9320c1915db79f836b5d00f6b7b31dfdec.tar.gz
GpgFrontend-b919ff9320c1915db79f836b5d00f6b7b31dfdec.zip
fix: remove myeasylog.log
-rw-r--r--CMakeLists.txt3
-rw-r--r--src/ui/dialog/help/GnupgTab.cpp2
-rw-r--r--src/ui/main_window/KeyMgmt.cpp1
3 files changed, 4 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 194e0d39..60e2d688 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -443,6 +443,9 @@ endif ()
SET(CMAKE_FIND_PACKAGE_SORT_ORDER NATURAL)
SET(CMAKE_FIND_PACKAGE_SORT_DIRECTION DEC)
+# disable myeasylog.log
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DELPP_NO_DEFAULT_LOG_FILE")
+
# Introduce boost
find_package(Boost COMPONENTS date_time system REQUIRED)
diff --git a/src/ui/dialog/help/GnupgTab.cpp b/src/ui/dialog/help/GnupgTab.cpp
index d01bceda..9d783367 100644
--- a/src/ui/dialog/help/GnupgTab.cpp
+++ b/src/ui/dialog/help/GnupgTab.cpp
@@ -31,8 +31,6 @@
#include "GnupgTab.h"
-#include <vector>
-
#include "easylogging++.h"
#include "ui_GnuPGInfo.h"
diff --git a/src/ui/main_window/KeyMgmt.cpp b/src/ui/main_window/KeyMgmt.cpp
index 6dc2b14f..9df2b918 100644
--- a/src/ui/main_window/KeyMgmt.cpp
+++ b/src/ui/main_window/KeyMgmt.cpp
@@ -109,6 +109,7 @@ KeyMgmt::KeyMgmt(QWidget* parent)
this->statusBar()->show();
setWindowTitle(_("KeyPair Management"));
+ key_list_->AddMenuAction(generate_subkey_act_);
key_list_->AddMenuAction(delete_selected_keys_act_);
key_list_->AddMenuAction(show_key_details_act_);