summaryrefslogtreecommitdiffstats
path: root/chalk/ui/kis_boundary_painter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'chalk/ui/kis_boundary_painter.cpp')
-rw-r--r--chalk/ui/kis_boundary_painter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/chalk/ui/kis_boundary_painter.cpp b/chalk/ui/kis_boundary_painter.cpp
index 2b842e53..1d782fbb 100644
--- a/chalk/ui/kis_boundary_painter.cpp
+++ b/chalk/ui/kis_boundary_painter.cpp
@@ -26,7 +26,7 @@
TQPixmap KisBoundaryPainter::createPixmap(const KisBoundary& boundary, int w, int h)
{
TQPixmap target(w, h);
- KisCanvasPainter painter(TQT_TQPAINTDEVICE(&target));
+ KisCanvasPainter painter(&target);
painter.eraseRect(0, 0, w, h);