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 --- kexi/kexiutils/utils.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kexi/kexiutils/utils.cpp') diff --git a/kexi/kexiutils/utils.cpp b/kexi/kexiutils/utils.cpp index 4a0d5489..9d794242 100644 --- a/kexi/kexiutils/utils.cpp +++ b/kexi/kexiutils/utils.cpp @@ -300,7 +300,7 @@ void KexiUtils::drawPixmap( TQPainter& p, int lineWidth, const TQRect& rect, } pixmapBuffer.convertFromImage(img); if (!fast) { - p2.begin(TQT_TQPAINTDEVICE(&pixmapBuffer), p.device()); + p2.begin(&pixmapBuffer, p.device()); } else target->drawPixmap(pos, pixmapBuffer); @@ -308,7 +308,7 @@ void KexiUtils::drawPixmap( TQPainter& p, int lineWidth, const TQRect& rect, else { if (!fast) { pixmapBuffer.resize(rect.size()-TQSize(lineWidth, lineWidth)); - p2.begin(TQT_TQPAINTDEVICE(&pixmapBuffer), p.device()); + p2.begin(&pixmapBuffer, p.device()); p2.drawPixmap(TQRect(rect.x(), rect.y(), w, h), pixmap); } else -- cgit v1.2.1