summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2011-12-21 17:32:08 -0600
committerTimothy Pearson <[email protected]>2011-12-21 17:32:08 -0600
commitbb0845dd6dcb06b413575db574295475e46b9ea3 (patch)
tree372afd1e1e976c340e2daf3a4f45fe668ab078f8
parent8c6fc1f8e35fd264dd01c582ca5e7549b32ab731 (diff)
downloadqt3-bb0845dd6dcb06b413575db574295475e46b9ea3.tar.gz
qt3-bb0845dd6dcb06b413575db574295475e46b9ea3.zip
Fix qimage header warnings
-rw-r--r--src/kernel/qimage.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/qimage.h b/src/kernel/qimage.h
index 1ade054..cef7824 100644
--- a/src/kernel/qimage.h
+++ b/src/kernel/qimage.h
@@ -58,9 +58,9 @@ public:
QCString lang;
bool operator< (const QImageTextKeyLang& other) const
- { return key < other.key || key==other.key && lang < other.lang; }
+ { return (key < other.key) || ((key==other.key) && (lang < other.lang)); }
bool operator== (const QImageTextKeyLang& other) const
- { return key==other.key && lang==other.lang; }
+ { return (key==other.key) && (lang==other.lang); }
};
#endif //QT_NO_IMAGE_TEXT