From c036d97d35d25c4511d9569d40c1de07dab96bb6 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 7 Aug 2015 17:06:29 +0900 Subject: Fixed KAlarm building warnings. Minor style patch up. Fixed possible error in treating deferred evens (see kalarm/alarmevent.cpp:1739). Signed-off-by: Michele Calgaro --- kalarm/kalarmd/adcalendar.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kalarm/kalarmd/adcalendar.cpp') diff --git a/kalarm/kalarmd/adcalendar.cpp b/kalarm/kalarmd/adcalendar.cpp index a2cc4836a..b1033eb04 100644 --- a/kalarm/kalarmd/adcalendar.cpp +++ b/kalarm/kalarmd/adcalendar.cpp @@ -153,8 +153,8 @@ bool ADCalendar::eventHandled(const KCal::Event* event, const TQValueList= oldCount // is it an additional alarm? || !it.data().alarmTimes[i].isValid() // or has it just become due? - || it.data().alarmTimes[i].isValid() // or has it changed? - && alarmtimes[i] != it.data().alarmTimes[i])) + || (it.data().alarmTimes[i].isValid() // or has it changed? + && alarmtimes[i] != it.data().alarmTimes[i]))) return false; // this alarm has changed } return true; -- cgit v1.2.1