summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>2011-11-17 17:09:32 +0100
committerQt by Nokia <qt-info@nokia.com>2011-11-18 10:31:07 +0100
commitabe5a0a432116963d22c4ef501a4dfd2393d66fb (patch)
treed747af4558d05f98e1132403aedc5e81134f55f9 /src/gui
parent572ca4363791f7bbed78dab9f7f5dd0c6b5d11d1 (diff)
qtbase: Warnings fixes.
Change-Id: Ie97e36bc168b3de3cae2d0eb615e777884529a06 Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/kernel/qguiapplication.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qguiapplication.cpp b/src/gui/kernel/qguiapplication.cpp
index b1abe659e4..8f74e3d3db 100644
--- a/src/gui/kernel/qguiapplication.cpp
+++ b/src/gui/kernel/qguiapplication.cpp
@@ -620,7 +620,7 @@ void QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::Mo
}
else { // Check to see if a new button has been pressed/released.
for (int check = Qt::LeftButton;
- check <= Qt::MaxMouseButton;
+ check <= int(Qt::MaxMouseButton);
check = check << 1) {
if (check & stateChange) {
button = Qt::MouseButton(check);