reset the spacerWidget pointer, crash--

svn path=/trunk/KDE/kdelibs/; revision=1186447
This commit is contained in:
Marco Martin 2010-10-16 12:35:42 +00:00
parent 0126b7f16f
commit 805fdd1e9a

View File

@ -281,6 +281,7 @@ void ExtenderGroup::dropEvent(QGraphicsSceneDragDropEvent *event)
QApplication::restoreOverrideCursor();
d->layout->removeItem(d->spacerWidget);
d->spacerWidget->deleteLater();
d->spacerWidget = 0;
}
}
}