summaryrefslogtreecommitdiff
path: root/src/rule.h
diff options
context:
space:
mode:
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 = ""
);
};