summaryrefslogtreecommitdiffstats
path: root/kivio/kiviopart/kivio_canvas.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kivio/kiviopart/kivio_canvas.cpp')
-rw-r--r--kivio/kiviopart/kivio_canvas.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kivio/kiviopart/kivio_canvas.cpp b/kivio/kiviopart/kivio_canvas.cpp
index e6a192fee..89695d241 100644
--- a/kivio/kiviopart/kivio_canvas.cpp
+++ b/kivio/kiviopart/kivio_canvas.cpp
@@ -331,7 +331,7 @@ void KivioCanvas::paintEvent( TQPaintEvent* ev )
// Draw content
KivioScreenPainter kpainter;
- kpainter.start(TQT_TQPAINTDEVICE(m_buffer));
+ kpainter.start(m_buffer);
kpainter.translateBy(-m_iXOffset + m_pageOffsetX, -m_iYOffset + m_pageOffsetY);
m_pDoc->paintContent(kpainter, paintRect, false, page, TQPoint(0, 0), m_pView->zoomHandler(), showConnectorTargets(), true);
kpainter.stop();
@@ -706,7 +706,7 @@ void KivioCanvas::beginUnclippedSpawnerPainter()
unclippedSpawnerPainter = new KivioScreenPainter();
// Tell it to start (allocates a Qpainter object)
- unclippedSpawnerPainter->start(TQT_TQPAINTDEVICE(this));
+ unclippedSpawnerPainter->start(this);
// Uhhhhh??
if( !unclipped )