diff options
author | Kim Motoyoshi Kalland <kim.kalland@nokia.com> | 2009-09-24 08:33:39 (GMT) |
---|---|---|
committer | Kim Motoyoshi Kalland <kim.kalland@nokia.com> | 2009-09-24 08:33:39 (GMT) |
commit | 3ec68c8948284437b8591010bbbbe2ea97b8cc46 (patch) | |
tree | 1029f8f9c050651f244615fe38e338c7834945f3 /examples | |
parent | 40f2c3ffdbcd700ed65b72a8cad1e7ce2c009e68 (diff) | |
download | Qt-3ec68c8948284437b8591010bbbbe2ea97b8cc46.zip Qt-3ec68c8948284437b8591010bbbbe2ea97b8cc46.tar.gz Qt-3ec68c8948284437b8591010bbbbe2ea97b8cc46.tar.bz2 |
Fixed background scrolling in the SVG viewer example.
Reviewed-by: Trond
Diffstat (limited to 'examples')
-rw-r--r-- | examples/painting/svgviewer/svgview.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/painting/svgviewer/svgview.cpp b/examples/painting/svgviewer/svgview.cpp index 0938ff8..76c6469 100644 --- a/examples/painting/svgviewer/svgview.cpp +++ b/examples/painting/svgviewer/svgview.cpp @@ -62,6 +62,7 @@ SvgView::SvgView(QWidget *parent) setScene(new QGraphicsScene(this)); setTransformationAnchor(AnchorUnderMouse); setDragMode(ScrollHandDrag); + setViewportUpdateMode(FullViewportUpdate); // Prepare background check-board pattern QPixmap tilePixmap(64, 64); |