From fb6b4d204d1155fa3a1bc7a128873340db1524f7 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 3 Dec 2023 00:36:33 +0900 Subject: Replaced various '#define' with actual strings - part 5 Signed-off-by: Michele Calgaro --- kivio/kiviopart/kiviodragobject.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kivio/kiviopart/kiviodragobject.cpp') 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; -- cgit v1.2.1