aboutsummaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-08-12 11:47:40 +0200
committerDanilo M. <danix@danix.xyz>2026-08-12 11:47:40 +0200
commitd14c0224826f821b34c894037ab668ddfde29a6d (patch)
tree656b614f08b3a9eed9771ac4374e0d972a15eece /src/CMakeLists.txt
parent49dac862685a50e1def6646349b61f4b36e73cc8 (diff)
downloadqtmaildir-d14c0224826f821b34c894037ab668ddfde29a6d.tar.gz
qtmaildir-d14c0224826f821b34c894037ab668ddfde29a6d.zip
feat(rules): read and write the shared rule store
The same ~/.config/mailrules/rules.json mailctl reads, parsed here with QJsonDocument and written atomically with QSaveFile. Fields this version does not understand round-trip untouched, which is what keeps the format neutral between the two tools. Mutation-checked: removing the unknown-field write fails unknownFieldsSurviveASave.
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 6f5101e..4df9adf 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -12,6 +12,7 @@ add_library(qtmaildir_lib STATIC
tagchip.cpp
tagcolors.cpp
tagdialog.cpp
+ tagrules.cpp
tagstrip.cpp
threadlistmodel.cpp
threadlistview.cpp