diff options
Diffstat (limited to 'src/rule.h')
-rw-r--r-- | src/rule.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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 = "" ); }; |