From f9a71be21c01cb5967a473f627e354ad02d39e99 Mon Sep 17 00:00:00 2001 From: Uwe Rathmann Date: Fri, 10 May 2019 07:57:25 +0200 Subject: [PATCH] indentation fixed --- src/layouts/QskLayoutBox.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/layouts/QskLayoutBox.cpp b/src/layouts/QskLayoutBox.cpp index 174a36a8..bd8f9c20 100644 --- a/src/layouts/QskLayoutBox.cpp +++ b/src/layouts/QskLayoutBox.cpp @@ -251,7 +251,7 @@ QRectF QskLayoutBox::alignedLayoutRect( const QRectF& rect ) const QSizeF QskLayoutBox::contentsSizeHint() const { - if ( !isActive() ) + if ( !isActive() ) return QSizeF( -1, -1 ); if ( itemCount() == 0 ) @@ -262,7 +262,7 @@ QSizeF QskLayoutBox::contentsSizeHint() const QSizeF QskLayoutBox::layoutItemsSizeHint() const { - return engine().sizeHint( Qt::PreferredSize ); + return engine().sizeHint( Qt::PreferredSize, QSizeF() ); } qreal QskLayoutBox::heightForWidth( qreal width ) const