All pastes #804584 Raw Edit

Plasma crashes when mouse goes o

public text v1 · immutable
·published 2007-12-03 16:17 UTC
rendered paste body
void FreeLayout::removeItem(LayoutItem *item)
{
    if (item == NULL ){
//      cout<<"item is null and it will crash\n";
    }
    else{

        d->children.removeAll(item);
        item->unsetManagingLayout(this);

    }
}