From 6a23822f3bd563cc3ea7b0e0a8936ff46042eb64 Mon Sep 17 00:00:00 2001 From: Uwe Rathmann Date: Wed, 3 Jan 2018 09:22:45 +0100 Subject: [PATCH] bad blocking of implicitSize change notifications fixed --- src/controls/QskControl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/controls/QskControl.cpp b/src/controls/QskControl.cpp index 9460b682..11889fc2 100644 --- a/src/controls/QskControl.cpp +++ b/src/controls/QskControl.cpp @@ -1438,9 +1438,9 @@ void QskControl::updateImplicitSize() const qreal w = ( hint.width() >= 0 ) ? dw + hint.width() : 0.0; const qreal h = ( hint.height() >= 0 ) ? dh + hint.height() : 0.0; - d->blockImplicitSizeNotification = false; - setImplicitSize( w, h ); d->blockImplicitSizeNotification = true; + setImplicitSize( w, h ); + d->blockImplicitSizeNotification = false; } QSizeF QskControl::contentsSizeHint() const