summaryrefslogtreecommitdiffstats
path: root/kexi/kexiutils
diff options
context:
space:
mode:
Diffstat (limited to 'kexi/kexiutils')
-rw-r--r--kexi/kexiutils/utils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kexi/kexiutils/utils.cpp b/kexi/kexiutils/utils.cpp
index f9fd3cd0..ed62c07c 100644
--- a/kexi/kexiutils/utils.cpp
+++ b/kexi/kexiutils/utils.cpp
@@ -283,7 +283,7 @@ void KexiUtils::drawPixmap( TQPainter& p, int lineWidth, const TQRect& rect,
if (scaledContents) {
if (keepAspectRatio) {
TQImage img(pixmap.convertToImage());
- img = img.smoothScale(w, h, TQ_ScaleMin);
+ img = img.smoothScale(w, h, TQImage::ScaleMin);
pos = rect.topLeft(); //0, 0);
if (img.width() < w) {
int hAlign = TQApplication::horizontalAlignment( alignment );