summaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-08-02 17:21:47 +0200
committerDanilo M. <danix@danix.xyz>2026-08-04 12:52:19 +0200
commit72b56d0beca6d640c724eabc73a3ee45cf04bfea (patch)
treeda54a55abd573f0c9457ddceafdb38bb327cebb1 /src/CMakeLists.txt
parentd56d9c35352bec0f1492395f657f2c0b9b0f04a1 (diff)
downloadqtmaildir-72b56d0beca6d640c724eabc73a3ee45cf04bfea.tar.gz
qtmaildir-72b56d0beca6d640c724eabc73a3ee45cf04bfea.zip
feat: add Config with account, query, and sync parsing
Accounts use [account.work] rather than [account/work]: QSettings' INI backend treats "/" as its own hierarchical group separator, so a literal slash in a section header parses as a nested group and trips QSettings::FormatError, silently breaking childGroups() enumeration. A dot carries no such meaning and keeps the format flat. Saved-query order is alphabetical (QSettings::childKeys() sorts), not file order; documented in code and tests rather than left to a false assumption.
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index aeb425f..d1ed29f 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -1,5 +1,6 @@
add_library(qtmaildir_lib STATIC
keymap.cpp
+ config.cpp
)
target_include_directories(qtmaildir_lib