items were getting added to the same layout more than once. now that the desktop actually knows what its layout is, this screws things up pretty badly. so fix that.
however, the panel is now screwed and will be until i write a proper layout for it. be warned: i really don't want to hear about the panel until then. svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=735280
This commit is contained in:
parent
3f43d45c71
commit
f242476e72
@ -110,6 +110,10 @@ Layout* LayoutItem::layout() const
|
||||
|
||||
void LayoutItem::setManagingLayout(Layout* layout)
|
||||
{
|
||||
if (layout == d->managingLayout) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (d->managingLayout) {
|
||||
d->managingLayout->removeItem(this);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user