From bb4fcd90315ef77460676935005cdbbde1e55f76 Mon Sep 17 00:00:00 2001 From: Noldor Date: Mon, 4 Aug 2008 16:14:40 +0000 Subject: more QT4 port (objects module) + vs2005 projects update + some compilation fixes git-svn-id: https://svn.kvirc.de/svn/trunk/kvirc@2174 17fca916-40b9-46aa-a4ea-0a15b648b75c --- src/modules/theme/packthemedialog.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/modules/theme') diff --git a/src/modules/theme/packthemedialog.cpp b/src/modules/theme/packthemedialog.cpp index d7ee2f1bb..dd917c0b1 100644 --- a/src/modules/theme/packthemedialog.cpp +++ b/src/modules/theme/packthemedialog.cpp @@ -336,9 +336,9 @@ void KviPackThemeDialog::imageSelectionChanged(const QString &szImagePath) { QPixmap out; if(pix.width() > 300 || pix.height() > 225) - out.convertFromImage(pix.scaled(300,225,Qt::KeepAspectRatio,Qt::SmoothTransformation)); + out.fromImage(pix.scaled(300,225,Qt::KeepAspectRatio,Qt::SmoothTransformation)); else - out.convertFromImage(pix); + out.fromImage(pix); m_pImageLabel->setPixmap(out); return; } @@ -371,9 +371,9 @@ bool KviPackThemeDialog::packTheme() if(!pix.isNull()) { if(pix.width() > 300 || pix.height() > 225) - out.convertFromImage(pix.scaled(300,225,Qt::KeepAspectRatio)); + out.fromImage(pix.scaled(300,225,Qt::KeepAspectRatio)); else - out.convertFromImage(pix); + out.fromImage(pix); } else { if(!m_szImagePath.isEmpty()) { -- cgit v1.3.1-10-gc9f91