don't show the childs widget if the group is collapsed, not the item

svn path=/trunk/KDE/kdelibs/; revision=1191175
This commit is contained in:
Marco Martin 2010-10-29 20:19:05 +00:00
parent ca4e345c15
commit 3b9158f1c0

View File

@ -328,7 +328,7 @@ void ExtenderGroupPrivate::addItemToGroup(Plasma::ExtenderItem *item, const QPoi
q->extender()->itemAddedEvent(q);
q->show();
}
childsWidget->setVisible(!q->isCollapsed());
childsWidget->setVisible(!q->isGroupCollapsed());
q->extender()->resize(q->extender()->effectiveSizeHint(Qt::PreferredSize));
}
}