summaryrefslogtreecommitdiff
path: root/src/config.hpp
diff options
context:
space:
mode:
authorDominick Allen <djallen@librehumanitas.org>2024-11-10 15:14:38 -0600
committerDominick Allen <djallen@librehumanitas.org>2024-11-10 15:14:38 -0600
commit2b641aa2f4f5b894ceed8bf2a46fcef35e930d56 (patch)
treeb5decb0fcd6a225c89d2ababb0fdf2d84b39a334 /src/config.hpp
parent47e0ff88edd4660513f1d4f3d731008461532a13 (diff)
Refactorings from libfud.HEADmaster
Diffstat (limited to 'src/config.hpp')
-rw-r--r--src/config.hpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/config.hpp b/src/config.hpp
index bc5698e..144efdc 100644
--- a/src/config.hpp
+++ b/src/config.hpp
@@ -1,15 +1,16 @@
#ifndef GETSUYOMI_CONFIG_HPP
#define GETSUYOMI_CONFIG_HPP
+#include <filesystem>
#include <fud_result.hpp>
#include <fud_status.hpp>
#include <map>
#include <optional>
-#include <qkeysequence.h>
-#include <qlist.h>
#include <set>
#include <string>
-#include <filesystem>
+#include <qlist.h>
+
+class QKeySequence;
namespace getsuyomi {
@@ -94,7 +95,7 @@ constexpr const char* actionTypeToString(ActionType action)
}
ShortcutSet shortcutSetFromList(const ShortcutList& shortcutList);
-ShortcutList shortcutListFromSet(const ShortcutSet& shortcutList);
+ShortcutList shortcutListFromSet(const ShortcutSet& shortcutSet);
class Shortcuts {
public: