summaryrefslogtreecommitdiffstats
path: root/kexi/kexiutils/utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/kexiutils/utils.cpp')
-rw-r--r--kexi/kexiutils/utils.cpp4
1 files changed, 2 insertions, 2 deletions
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