items in groups no longer have any border

svn path=/trunk/KDE/kdelibs/; revision=1177842
This commit is contained in:
Marco Martin 2010-09-21 12:43:15 +00:00
parent 8e5a2533b5
commit b53a6e5b0a

View File

@ -572,7 +572,7 @@ FrameSvg::EnabledBorders Extender::enabledBordersForItem(ExtenderItem *item) con
ExtenderItem *topItem = dynamic_cast<ExtenderItem*>(d->layout->itemAt(0));
ExtenderItem *bottomItem = dynamic_cast<ExtenderItem*>(d->layout->itemAt(d->layout->count() - 1));
if (item->group()) {
return FrameSvg::LeftBorder | FrameSvg::RightBorder;
return FrameSvg::NoBorder;
} else if (d->appearance == TopDownStacked && bottomItem != item) {
return FrameSvg::LeftBorder | FrameSvg::BottomBorder | FrameSvg::RightBorder;
} else if (d->appearance == BottomUpStacked && topItem != item) {