Fix collapsed folderview in panels

Review Request #103915 - Created Feb. 10, 2012 and submitted

Ignat Semenov
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.
Marco Martin
Commit Hook
Commit Hook
This review has been submitted with commit a8694a6d733f9fc8f1a08256826d65a6bef1720b by Ignat Semenov to branch KDE/4.8.
Ignat Semenov
Review request changed

Status: Closed (submitted)