From 5691e3ed9b68297daaee474cae1a29146f953d7a Mon Sep 17 00:00:00 2001 From: Michael Zanetti Date: Sat, 7 Oct 2017 18:20:30 +0200 Subject: [PATCH] fix evaluation for timer events --- libguh-core/rule.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libguh-core/rule.cpp b/libguh-core/rule.cpp index 9c2ec7a3..b5c795be 100644 --- a/libguh-core/rule.cpp +++ b/libguh-core/rule.cpp @@ -95,7 +95,7 @@ bool Rule::statesActive() const bool Rule::timeActive() const { - if (m_timeDescriptor.isEmpty()) + if (m_timeDescriptor.calendarItems().isEmpty()) return true; return m_timeActive;