Orb/Doxygen/qtools/qdatetime.cpp
changeset 4 468f4c8d3d5b
parent 0 42188c7ea2d9
--- a/Orb/Doxygen/qtools/qdatetime.cpp	Fri Apr 23 20:47:58 2010 +0100
+++ b/Orb/Doxygen/qtools/qdatetime.cpp	Wed Aug 11 14:49:30 2010 +0100
@@ -491,7 +491,7 @@
 
 bool QDate::leapYear( int y )
 {
-    return y % 4 == 0 && y % 100 != 0 || y % 400 == 0;
+    return (y % 4 == 0 && y % 100 != 0) || (y % 400 == 0);
 }
 
 /*!