From 86ff3c6a66c2973a96c589151855a2d54d807236 Mon Sep 17 00:00:00 2001 From: "Danilo M." Date: Sat, 31 Oct 2026 11:51:24 +0100 Subject: feat: apply a rule from the rules dialog, and opt a rule into archiving Apply saves first, so only what the hook would run is applied, then asks the owner to apply the saved rule. A checkbox maps to allow_archive, and the banner names every rule the sync hook will skip. Items 212 and 213. Co-Authored-By: Claude Opus 5.5 --- src/tagrules.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/tagrules.h') diff --git a/src/tagrules.h b/src/tagrules.h index 2ceafef..94e3a85 100644 --- a/src/tagrules.h +++ b/src/tagrules.h @@ -20,6 +20,7 @@ #include #include +#include #include #include @@ -123,3 +124,5 @@ private: QJsonObject m_unknown; ///< Unrecognised top-level keys. bool m_missing = false; }; + +Q_DECLARE_METATYPE(TagRule) -- cgit v1.2.3