From fe7969ef886d7287fa959929ddd33fbad8407884 Mon Sep 17 00:00:00 2001
From: Timothy Pearson <kb9vqf@pearsoncomputing.net>
Date: Sat, 28 Jul 2012 15:51:58 -0500
Subject: Automated update from Qt3

---
 src/tools/qdatetime.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/tools/qdatetime.cpp')

diff --git a/src/tools/qdatetime.cpp b/src/tools/qdatetime.cpp
index 6a8d45e20..3fb1e29c2 100644
--- a/src/tools/qdatetime.cpp
+++ b/src/tools/qdatetime.cpp
@@ -1178,7 +1178,7 @@ bool TQDate::isValid( int y, int m, int d )
 
 bool TQDate::leapYear( int y )
 {
-    return y % 4 == 0 && y % 100 != 0 || y % 400 == 0;
+    return (y % 4 == 0 && y % 100 != 0) || y % 400 == 0;
 }
 
 /*!
-- 
cgit v1.2.1