From 3e1d2e46ceea202120b4ff814fbd872bc6fc60f3 Mon Sep 17 00:00:00 2001 From: Louie S Date: Thu, 14 Mar 2024 18:46:37 -0400 Subject: RulesDialog menu working (functionality WIP) --- src/rule.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/rule.h') 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 = "" ); }; -- cgit