[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    extragear/plasma/applets/frame
From:       Sebastian Kügler <sebas () kde ! nl>
Date:       2008-05-19 0:46:22
Message-ID: 1211157982.852152.10757.nullmailer () svn ! kde ! org
[Download RAW message or body]

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();
 }
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic