Fix collapsed folderview in panels
Review Request #103915 - Created Feb. 10, 2012 and submitted
Fix folderview behavior in panels with regard to the collapsed mode. 1)Keep it small like Trash or Show desktop / Dashboard (ConstrainedSquare, minimumSize & sizeHint - code taken from Trash, which behaves properly when in a panel with regard to scaling). 2)Update icon size on panel icon size change. 3)No duplicates - if (m_iconWidget) check - the absence of such a check resulted in Really Weird(TM) things going on, like duplicates or ghost folderviews.
Tested the hell out of it:dragged the panel around the screen on all the 4 screen edges - no problems noticed. Changed Panel icon size in the Icons KCM, updates on the fly.