summaryrefslogtreecommitdiffstats
path: root/kivio/kiviopart/kiviodragobject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kivio/kiviopart/kiviodragobject.cpp')
-rw-r--r--kivio/kiviopart/kiviodragobject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kivio/kiviopart/kiviodragobject.cpp b/kivio/kiviopart/kiviodragobject.cpp
index 1649cfc3..bfe4ff55 100644
--- a/kivio/kiviopart/kiviodragobject.cpp
+++ b/kivio/kiviopart/kiviodragobject.cpp
@@ -160,7 +160,7 @@ TQByteArray KivioDragObject::imageEncoded(const char* mimetype) const
TQPixmap buffer(zoomHandler.zoomItX(m_stencilRect.width()), zoomHandler.zoomItY(m_stencilRect.height()));
buffer.fill(TQt::white);
KivioScreenPainter p;
- p.start( TQT_TQPAINTDEVICE(&buffer) );
+ p.start( &buffer );
p.setTranslation(-zoomHandler.zoomItX(m_stencilRect.x()), -zoomHandler.zoomItY(m_stencilRect.y()));
KivioIntraStencilData data;
data.painter = &p;