summaryrefslogtreecommitdiff
path: root/src/rule.h
diff options
context:
space:
mode:
authorLouie S <louie@example.com>2024-03-14 18:46:37 -0400
committerLouie S <louie@example.com>2024-03-14 18:46:37 -0400
commit3e1d2e46ceea202120b4ff814fbd872bc6fc60f3 (patch)
treededaca23bdfb6ea98d092585de02e87b79d32b8f /src/rule.h
parent2e4227a8875dc9a25dd92d46d2f71eff7ae1499a (diff)
RulesDialog menu working (functionality WIP)
Diffstat (limited to 'src/rule.h')
-rw-r--r--src/rule.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/rule.h b/src/rule.h
index 2120401..1d7e90a 100644
--- a/src/rule.h
+++ b/src/rule.h
@@ -10,16 +10,16 @@ struct Rule {
int entry_id;
When when;
QDateTime date;
- QString color = "";
- QString highlight = "";
+ QString color; // consider making this a QColor instead
+ QString highlight; // see color comment
Rule(
int id,
int entry_id,
When when,
- QDateTime date,
- QString color,
- QString highlight
+ QDateTime date = QDateTime::currentDateTime(),
+ QString color = "",
+ QString highlight = ""
);
};