summaryrefslogtreecommitdiff
path: root/src/rule.h
diff options
context:
space:
mode:
authorLouie S <louie@example.com>2024-04-01 21:34:20 -0400
committerLouie S <louie@example.com>2024-04-04 18:25:51 -0400
commita754fced75565f4c8d0f94f41b576415f3f9dcf0 (patch)
tree5889e0b1777b198b13805bda4df84a108a9b5836 /src/rule.h
parent50d93e4a110533be2c45efbd853e2257d9962978 (diff)
Keep static variables based on backend information to reduce number of database calls
Diffstat (limited to 'src/rule.h')
-rw-r--r--src/rule.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rule.h b/src/rule.h
index 1d7e90a..cf9abfe 100644
--- a/src/rule.h
+++ b/src/rule.h
@@ -21,6 +21,8 @@ struct Rule {
QString color = "",
QString highlight = ""
);
+
+ static QList<Rule> rules;
};
#endif