SVN_SILENT: better comment

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=811016
This commit is contained in:
Chani Armitage 2008-05-22 02:23:33 +00:00
parent 3f3b74e48b
commit 7f822e8c8c

View File

@ -194,6 +194,8 @@ void Containment::loadContainment(KConfigGroup* group)
QRectF geo = group->readEntry("geometry", geometry());
//override max/min
//this ensures panels are set to their saved size even when they have max & min set to prevent
//resizing
if (geo.size() != geo.size().boundedTo(maximumSize())) {
setMaximumSize(maximumSize().expandedTo(geo.size()));
}