From kde-commits Mon May 19 00:46:22 2008 From: =?utf-8?q?Sebastian=20K=C3=BCgler?= Date: Mon, 19 May 2008 00:46:22 +0000 To: kde-commits Subject: extragear/plasma/applets/frame Message-Id: <1211157982.852152.10757.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=121115799005081 SVN commit 809498 by sebas: Fix sizing of applet handle M +3 -1 frame.cpp --- trunk/extragear/plasma/applets/frame/frame.cpp #809497:809498 @@ -79,6 +79,7 @@ if ( !_picture.isNull() ) { m_picture = _picture; + resize(contentSizeHint()); m_pixmapCache = QPixmap(); prepareGeometryChange(); updateGeometry(); @@ -140,7 +141,8 @@ void Frame::updatePicture() { m_picture = m_mySlideShow->getImage(); - m_pixmapCache = QPixmap(); + resize(contentSizeHint()); + m_pixmapCache = QPixmap(); update(); }