bad blocking of implicitSize change notifications fixed
This commit is contained in:
parent
e37502f454
commit
6a23822f3b
|
@ -1438,9 +1438,9 @@ void QskControl::updateImplicitSize()
|
||||||
const qreal w = ( hint.width() >= 0 ) ? dw + hint.width() : 0.0;
|
const qreal w = ( hint.width() >= 0 ) ? dw + hint.width() : 0.0;
|
||||||
const qreal h = ( hint.height() >= 0 ) ? dh + hint.height() : 0.0;
|
const qreal h = ( hint.height() >= 0 ) ? dh + hint.height() : 0.0;
|
||||||
|
|
||||||
d->blockImplicitSizeNotification = false;
|
|
||||||
setImplicitSize( w, h );
|
|
||||||
d->blockImplicitSizeNotification = true;
|
d->blockImplicitSizeNotification = true;
|
||||||
|
setImplicitSize( w, h );
|
||||||
|
d->blockImplicitSizeNotification = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
QSizeF QskControl::contentsSizeHint() const
|
QSizeF QskControl::contentsSizeHint() const
|
||||||
|
|
Loading…
Reference in New Issue