typos fixed

This commit is contained in:
Uwe Rathmann 2021-04-23 17:31:55 +02:00
parent 539eed08b5
commit 37b7b47f1a
3 changed files with 3 additions and 3 deletions

View File

@ -67,7 +67,7 @@ class QSK_EXPORT QskControl : public QskQuickItem, public QskSkinnable
Depending on the type of layout the value only works Depending on the type of layout the value only works
in combination with RetainSizeWhenHidden in combination with RetainSizeWhenHidden
*/ */
LayoutOutWhenHidden = 1 << 1 LayoutWhenHidden = 1 << 1
}; };
Q_ENUM( LayoutHint ) Q_ENUM( LayoutHint )

View File

@ -187,7 +187,7 @@ void QskSkinlet::updateNode( QskSkinnable* skinnable, QSGNode* parentNode ) cons
oldNode = findChildNode( parentNode, DebugRole ); oldNode = findChildNode( parentNode, DebugRole );
newNode = nullptr; newNode = nullptr;
if ( control->testUpdateFlag( QskControl::DebugForceBackground ) ) if ( control->testUpdateFlag( QskQuickItem::DebugForceBackground ) )
newNode = updateDebugNode( control, oldNode ); newNode = updateDebugNode( control, oldNode );
replaceChildNode( DebugRole, parentNode, oldNode, newNode ); replaceChildNode( DebugRole, parentNode, oldNode, newNode );

View File

@ -661,7 +661,7 @@ bool QskLayoutEngine2D::requiresAdjustment( const QQuickItem* item ) const
if ( auto control = qskControlCast( item ) ) if ( auto control = qskControlCast( item ) )
{ {
constexpr auto mask = constexpr auto mask =
QskControl::RetainSizeWhenHidden | QskControl::LayoutOutWhenHidden; QskControl::RetainSizeWhenHidden | QskControl::LayoutWhenHidden;
if ( control->layoutHints() & mask ) if ( control->layoutHints() & mask )
return true; return true;