diff options
Diffstat (limited to 'src/modules/theme')
-rw-r--r-- | src/modules/theme/packthemedialog.cpp | 4 | ||||
-rw-r--r-- | src/modules/theme/savethemedialog.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/theme/packthemedialog.cpp b/src/modules/theme/packthemedialog.cpp index 7ae09b77..8afd2b3b 100644 --- a/src/modules/theme/packthemedialog.cpp +++ b/src/modules/theme/packthemedialog.cpp @@ -328,7 +328,7 @@ void KviPackThemeDialog::imageSelectionChanged(const TQString &szImagePath) { TQPixmap out; if(pix.width() > 300 || pix.height() > 225) - out.convertFromImage(pix.smoothScale(300,225,TQ_ScaleMin)); + out.convertFromImage(pix.smoothScale(300,225,TQImage::ScaleMin)); else out.convertFromImage(pix); m_pImageLabel->setPixmap(out); @@ -365,7 +365,7 @@ bool KviPackThemeDialog::packTheme() if(!pix.isNull()) { if(pix.width() > 300 || pix.height() > 225) - out.convertFromImage(pix.smoothScale(300,225,TQ_ScaleMin)); + out.convertFromImage(pix.smoothScale(300,225,TQImage::ScaleMin)); else out.convertFromImage(pix); } else { diff --git a/src/modules/theme/savethemedialog.cpp b/src/modules/theme/savethemedialog.cpp index 8e015309..e7b78334 100644 --- a/src/modules/theme/savethemedialog.cpp +++ b/src/modules/theme/savethemedialog.cpp @@ -187,7 +187,7 @@ void KviSaveThemeDialog::imageSelectionChanged(const TQString &szImagePath) { TQPixmap out; if(pix.width() > 300 || pix.height() > 225) - out.convertFromImage(pix.smoothScale(300,225,TQ_ScaleMin)); + out.convertFromImage(pix.smoothScale(300,225,TQImage::ScaleMin)); else out.convertFromImage(pix); m_pImageLabel->setPixmap(out); |