diff options
Diffstat (limited to 'src/modules/theme/savethemedialog.cpp')
-rw-r--r-- | src/modules/theme/savethemedialog.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/modules/theme/savethemedialog.cpp b/src/modules/theme/savethemedialog.cpp index b6a93a0d..8e015309 100644 --- a/src/modules/theme/savethemedialog.cpp +++ b/src/modules/theme/savethemedialog.cpp @@ -36,12 +36,7 @@ #include <tqtooltip.h> #include <tqimage.h> #include <kvi_tal_textedit.h> -#ifdef COMPILE_USE_QT4 -#include <tq3multilineedit.h> -#include <TQDateTime> -#else #include <tqmultilineedit.h> -#endif #include <tqbuffer.h> #include <tqlabel.h> @@ -192,11 +187,7 @@ void KviSaveThemeDialog::imageSelectionChanged(const TQString &szImagePath) { TQPixmap out; if(pix.width() > 300 || pix.height() > 225) - #ifdef COMPILE_USE_QT4 - out.convertFromImage(pix.scaled(300,225,TQt::KeepAspectRatio)); - #else out.convertFromImage(pix.smoothScale(300,225,TQ_ScaleMin)); -#endif else out.convertFromImage(pix); m_pImageLabel->setPixmap(out); |