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

List:       kde-commits
Subject:    extragear/plasma/applets/frame
From:       Dennis Nienhüser <earthwings () gentoo ! org>
Date:       2007-11-07 21:50:11
Message-ID: 1194472211.564196.25655.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 734034 by nienhueser:

Announce proper size to have plasma put it at the correct position when reloading the applet


 M  +1 -0      frame.cpp  


--- trunk/extragear/plasma/applets/frame/frame.cpp #734033:734034
@@ -479,6 +479,7 @@
     }
 
     m_boundingRect = mapToPicture(QPolygon(m_pixmapOutlineRect)).boundingRect();
+    setSize(QSizeF(m_boundingRect.width(), m_boundingRect.height()));
 }
 
 ///transform a polygon to the "logical coordinates" of the picture, accounting its rotation. 
[prev in list] [next in list] [prev in thread] [next in thread] 

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