diff options
Diffstat (limited to 'src/kvilib/irc/kvi_avatar.cpp')
-rw-r--r-- | src/kvilib/irc/kvi_avatar.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/kvilib/irc/kvi_avatar.cpp b/src/kvilib/irc/kvi_avatar.cpp index 680e7978..3a9f54df 100644 --- a/src/kvilib/irc/kvi_avatar.cpp +++ b/src/kvilib/irc/kvi_avatar.cpp @@ -153,13 +153,9 @@ TQPixmap * KviAvatar::scaledPixmap(unsigned int w,unsigned int h) scaleW = (scaleH * curW) / curH; } -#ifdef COMPILE_USE_QT4 - m_pScaledPixmap = new TQPixmap(m_pPixmap->scaled(scaleW,scaleH)); -#else TQImage img = m_pPixmap->convertToImage(); m_pScaledPixmap = new TQPixmap(); m_pScaledPixmap->convertFromImage(img.smoothScale(scaleW,scaleH)); -#endif return m_pScaledPixmap; } |