diff options
author | Kim Motoyoshi Kalland <kim.kalland@nokia.com> | 2010-09-20 15:26:34 (GMT) |
---|---|---|
committer | Kim Motoyoshi Kalland <kim.kalland@nokia.com> | 2010-09-20 15:26:34 (GMT) |
commit | bd34833eb6d6d1a4cd848b002e44e18986376218 (patch) | |
tree | 33513b18d6774e9f716baa2f0a5cdd8ffe13b542 /src/gui/graphicsview/qgraphicsscene.cpp | |
parent | 89cbb165600de9a557a8a621dc41b93c2a7a2b52 (diff) | |
download | Qt-bd34833eb6d6d1a4cd848b002e44e18986376218.zip Qt-bd34833eb6d6d1a4cd848b002e44e18986376218.tar.gz Qt-bd34833eb6d6d1a4cd848b002e44e18986376218.tar.bz2 |
Fixed compile warning on Windows.
Reviewed-by: bnilsen
Diffstat (limited to 'src/gui/graphicsview/qgraphicsscene.cpp')
-rw-r--r-- | src/gui/graphicsview/qgraphicsscene.cpp | 2 |
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) |