aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmd.h
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-01-12 15:08:38 +0000
committersaturneric <[email protected]>2024-01-12 15:08:38 +0000
commit6983b5c1dd82d159236ebd06cf17f071cc9c1ee9 (patch)
treefc53f790e33546320b2ecd306a1a9ade6fbdfe7a /src/cmd.h
parentfix: slove a heap-use-after-free issue (diff)
downloadGpgFrontend-6983b5c1dd82d159236ebd06cf17f071cc9c1ee9.tar.gz
GpgFrontend-6983b5c1dd82d159236ebd06cf17f071cc9c1ee9.zip
refactor: remove boost and use QString instead of std::filesystem::path
Diffstat (limited to 'src/cmd.h')
-rw-r--r--src/cmd.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/cmd.h b/src/cmd.h
index b90384db..061926dc 100644
--- a/src/cmd.h
+++ b/src/cmd.h
@@ -28,9 +28,6 @@
#pragma once
-// boost
-#include <boost/program_options.hpp>
-
#include "GpgFrontendContext.h"
namespace GpgFrontend {
@@ -39,8 +36,7 @@ namespace GpgFrontend {
auto PrintVersion() -> int;
-auto ParseLogLevel(const boost::program_options::variables_map&)
- -> spdlog::level::level_enum;
+auto ParseLogLevel(const QString& level) -> spdlog::level::level_enum;
auto RunTest(const GFCxtWPtr&) -> int;