[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/kdepim/enterprise4/kdepim/kalarm
From:       Jaroslaw Staniek <js () iidea ! pl>
Date:       2008-06-20 9:38:04
Message-ID: 1213954684.427201.27862.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 822454 by staniek:

explicitly use boolean as the condition


 M  +1 -1      alarmevent.cpp  


--- branches/kdepim/enterprise4/kdepim/kalarm/alarmevent.cpp #822453:822454
@@ -3963,7 +3963,7 @@
 				event->startUpdates();   // prevent multiple update notifications
 				if (readOnly)
 					event->setReadOnly(false);
-				if (alarm->snoozeTime().asSeconds() % (24*3600))
+				if ((alarm->snoozeTime().asSeconds() % (24*3600)) != 0)
 					recur->setMinutely(alarm->snoozeTime());
 				else
 					recur->setDaily(alarm->snoozeTime() / (24*3600));
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic