aboutsummaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-08-02 17:02:18 +0200
committerDanilo M. <danix@danix.xyz>2026-08-02 17:02:18 +0200
commitdd7845d847a3d6f961f0302551c33245d1f12bdc (patch)
treef146a0bf84bbd3229e9bf18235314de0bc5f4c5f /src/CMakeLists.txt
parent059fa151856293a8b6bdf9b16d1b72f415f59df3 (diff)
downloadqtmaildir-dd7845d847a3d6f961f0302551c33245d1f12bdc.tar.gz
qtmaildir-dd7845d847a3d6f961f0302551c33245d1f12bdc.zip
feat: add KeyMap with defaults and INI overrides
Maps key sequences to action name strings, with hardcoded vim-style defaults and QSettings-based [keys] overrides. Unknown actions and unparseable sequences are collected as warnings rather than treated as fatal, so a typo in the config cannot silently misbind or crash. Note: QKeySequence::fromString() on Qt 6.11 does not return an empty sequence for unparseable input (e.g. "NotAKey++") -- it returns a non-empty sequence whose toString() is empty. Detection uses that instead of isEmpty().
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index e9e28e5..aeb425f 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1,5 +1,5 @@
add_library(qtmaildir_lib STATIC
- main_placeholder.cpp
+ keymap.cpp
)
target_include_directories(qtmaildir_lib