crash--
svn path=/trunk/KDE/kdelibs/; revision=1109929
This commit is contained in:
parent
5809b052d6
commit
8f7d7bc782
@ -711,7 +711,7 @@ void ExtenderItem::hoverLeaveEvent(QGraphicsSceneHoverEvent *event)
|
||||
|
||||
QSizeF ExtenderItem::sizeHint(Qt::SizeHint which, const QSizeF &constraint) const
|
||||
{
|
||||
if (d->widget->isWidget()) {
|
||||
if (d->widget && d->widget->isWidget()) {
|
||||
return QGraphicsWidget::sizeHint(which, constraint);
|
||||
} else {
|
||||
switch (which) {
|
||||
|
Loading…
Reference in New Issue
Block a user