summaryrefslogtreecommitdiffstats
path: root/examples/painting/svgviewer/svgview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/painting/svgviewer/svgview.cpp')
-rw-r--r--examples/painting/svgviewer/svgview.cpp1
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);