setStyle(0) in the dtor isn't such a good idea...

svn path=/trunk/KDE/kdelibs/; revision=886254
This commit is contained in:
Marco Martin 2008-11-18 21:49:30 +00:00
parent ac412d787b
commit e3268fa145

View File

@ -52,8 +52,6 @@ TreeView::TreeView(QGraphicsWidget *parent)
TreeView::~TreeView()
{
widget()->setStyle(0);
delete d->style;
delete d;
}