SVN_SILENT: better comment
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=811016
This commit is contained in:
parent
3f3b74e48b
commit
7f822e8c8c
@ -194,6 +194,8 @@ void Containment::loadContainment(KConfigGroup* group)
|
|||||||
|
|
||||||
QRectF geo = group->readEntry("geometry", geometry());
|
QRectF geo = group->readEntry("geometry", geometry());
|
||||||
//override max/min
|
//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())) {
|
if (geo.size() != geo.size().boundedTo(maximumSize())) {
|
||||||
setMaximumSize(maximumSize().expandedTo(geo.size()));
|
setMaximumSize(maximumSize().expandedTo(geo.size()));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user