[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: extragear/plasma/applets/frame
From: Anne-Marie Mahfouf <annma () kde ! org>
Date: 2008-02-24 14:32:23
Message-ID: 1203863543.943406.29468.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 778749 by annma:
have to revert previous commit as the pic gets smaller and smaller...
have to setContentSize() another way...
M +1 -3 frame.cpp
--- trunk/extragear/plasma/applets/frame/frame.cpp #778748:778749
@@ -253,9 +253,7 @@
const QSize &contentsSize)
{
Q_UNUSED(option);
-
- m_pixmapCache = QPixmap::fromImage(m_picture).scaled(contentsSize, \
Qt::KeepAspectRatio, Qt::FastTransformation);
- setContentSize(m_pixmapCache.rect().size());
+ m_pixmapCache = QPixmap(contentsSize);
m_pixmapCache.fill(Qt::transparent);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic