summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKim Motoyoshi Kalland <kim.kalland@nokia.com>2010-09-20 15:26:34 (GMT)
committerKim Motoyoshi Kalland <kim.kalland@nokia.com>2010-09-20 15:26:34 (GMT)
commitbd34833eb6d6d1a4cd848b002e44e18986376218 (patch)
tree33513b18d6774e9f716baa2f0a5cdd8ffe13b542 /src
parent89cbb165600de9a557a8a621dc41b93c2a7a2b52 (diff)
downloadQt-bd34833eb6d6d1a4cd848b002e44e18986376218.zip
Qt-bd34833eb6d6d1a4cd848b002e44e18986376218.tar.gz
Qt-bd34833eb6d6d1a4cd848b002e44e18986376218.tar.bz2
Fixed compile warning on Windows.
Reviewed-by: bnilsen
Diffstat (limited to 'src')
-rw-r--r--src/gui/graphicsview/qgraphicsscene.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/graphicsview/qgraphicsscene.cpp b/src/gui/graphicsview/qgraphicsscene.cpp
index c166c30..54fdf3f 100644
--- a/src/gui/graphicsview/qgraphicsscene.cpp
+++ b/src/gui/graphicsview/qgraphicsscene.cpp
@@ -4751,7 +4751,7 @@ void QGraphicsScenePrivate::drawSubtreeRecursive(QGraphicsItem *item, QPainter *
ENSURE_TRANSFORM_PTR
QRect viewBoundingRect = translateOnlyTransform ? brect.translated(transformPtr->dx(), transformPtr->dy()).toAlignedRect()
: transformPtr->mapRect(brect).toAlignedRect();
- viewBoundingRect.adjust(-rectAdjust, -rectAdjust, rectAdjust, rectAdjust);
+ viewBoundingRect.adjust(-int(rectAdjust), -int(rectAdjust), rectAdjust, rectAdjust);
if (widget)
item->d_ptr->paintedViewBoundingRects.insert(widget, viewBoundingRect);
drawItem = exposedRegion ? exposedRegion->intersects(viewBoundingRect)