summaryrefslogtreecommitdiffstats
path: root/chalk/ui/kis_qpaintdevice_canvas_painter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'chalk/ui/kis_qpaintdevice_canvas_painter.cpp')
-rw-r--r--chalk/ui/kis_qpaintdevice_canvas_painter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/chalk/ui/kis_qpaintdevice_canvas_painter.cpp b/chalk/ui/kis_qpaintdevice_canvas_painter.cpp
index cc598ef2..7f3a6723 100644
--- a/chalk/ui/kis_qpaintdevice_canvas_painter.cpp
+++ b/chalk/ui/kis_qpaintdevice_canvas_painter.cpp
@@ -38,7 +38,7 @@ bool KisTQPaintDeviceCanvasPainter::begin(KisCanvasWidget *canvasWidget, bool un
TQWidget *widget = dynamic_cast<TQWidget *>(canvasWidget);
if (widget != 0) {
- return m_painter.begin(TQT_TQPAINTDEVICE(widget), unclipped);
+ return m_painter.begin(widget, unclipped);
} else {
return false;
}