reset the spacerWidget pointer, crash--
svn path=/trunk/KDE/kdelibs/; revision=1186447
This commit is contained in:
parent
0126b7f16f
commit
805fdd1e9a
@ -281,6 +281,7 @@ void ExtenderGroup::dropEvent(QGraphicsSceneDragDropEvent *event)
|
|||||||
QApplication::restoreOverrideCursor();
|
QApplication::restoreOverrideCursor();
|
||||||
d->layout->removeItem(d->spacerWidget);
|
d->layout->removeItem(d->spacerWidget);
|
||||||
d->spacerWidget->deleteLater();
|
d->spacerWidget->deleteLater();
|
||||||
|
d->spacerWidget = 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user