From 805fdd1e9afe26f4b0044786bc26e02610310fc8 Mon Sep 17 00:00:00 2001 From: Marco Martin Date: Sat, 16 Oct 2010 12:35:42 +0000 Subject: [PATCH] reset the spacerWidget pointer, crash-- svn path=/trunk/KDE/kdelibs/; revision=1186447 --- extenders/extendergroup.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/extenders/extendergroup.cpp b/extenders/extendergroup.cpp index 7fa03c2e2..396cffcf6 100644 --- a/extenders/extendergroup.cpp +++ b/extenders/extendergroup.cpp @@ -281,6 +281,7 @@ void ExtenderGroup::dropEvent(QGraphicsSceneDragDropEvent *event) QApplication::restoreOverrideCursor(); d->layout->removeItem(d->spacerWidget); d->spacerWidget->deleteLater(); + d->spacerWidget = 0; } } }