summaryrefslogtreecommitdiffstats
path: root/lib/koproperty/editors/pixmapedit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/koproperty/editors/pixmapedit.cpp')
-rw-r--r--lib/koproperty/editors/pixmapedit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/koproperty/editors/pixmapedit.cpp b/lib/koproperty/editors/pixmapedit.cpp
index 95cdbb9d4..edc19c80d 100644
--- a/lib/koproperty/editors/pixmapedit.cpp
+++ b/lib/koproperty/editors/pixmapedit.cpp
@@ -104,7 +104,7 @@ PixmapEdit::setValue(const TQVariant &value, bool emitChange)
}
else {
TQImage img(m_pixmap.convertToImage());
- if (!TQRect(TQPoint(0,0), m_edit->size()*3).tqcontains(m_pixmap.rect())) {
+ if (!TQRect(TQPoint(0,0), m_edit->size()*3).contains(m_pixmap.rect())) {
img = img.smoothScale(m_edit->size()*3, TQ_ScaleMin);
m_previewPixmap.convertFromImage(img);//preview pixmap is a bit larger
}