summaryrefslogtreecommitdiffstats
path: root/examples/qws/svgalib/svgalibpaintdevice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qws/svgalib/svgalibpaintdevice.cpp')
-rw-r--r--examples/qws/svgalib/svgalibpaintdevice.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/qws/svgalib/svgalibpaintdevice.cpp b/examples/qws/svgalib/svgalibpaintdevice.cpp
index 090311f..86613d2 100644
--- a/examples/qws/svgalib/svgalibpaintdevice.cpp
+++ b/examples/qws/svgalib/svgalibpaintdevice.cpp
@@ -48,7 +48,7 @@
SvgalibPaintDevice::SvgalibPaintDevice(QWidget *w)
: QCustomRasterPaintDevice(w)
{
- pengine = new SvgalibPaintEngine;
+ pengine = new SvgalibPaintEngine(this);
}
SvgalibPaintDevice::~SvgalibPaintDevice()