From bfe2b58ae3190fe21eef3a5530703728b347a5bb Mon Sep 17 00:00:00 2001 From: Uwe Rathmann Date: Tue, 9 Jul 2019 14:49:50 +0200 Subject: [PATCH] item -> entry --- src/layouts/QskLinearLayoutEngine.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/layouts/QskLinearLayoutEngine.cpp b/src/layouts/QskLinearLayoutEngine.cpp index d9927e34..33833cc7 100644 --- a/src/layouts/QskLinearLayoutEngine.cpp +++ b/src/layouts/QskLinearLayoutEngine.cpp @@ -473,15 +473,15 @@ QskLayoutConstraint::Type EntryTable::constraintType() const for ( const auto& entry : m_entries ) { - const auto itemType = QskLayoutConstraint::constraintType( entry.item() ); + const auto entryType = QskLayoutConstraint::constraintType( entry.item() ); - if ( itemType != QskLayoutConstraint::Unconstrained ) + if ( entryType != QskLayoutConstraint::Unconstrained ) { if ( m_constraintType == QskLayoutConstraint::Unconstrained ) { - m_constraintType = itemType; + m_constraintType = entryType; } - else if ( m_constraintType != itemType ) + else if ( m_constraintType != entryType ) { qWarning( "QskLinearLayoutEngine: conflicting constraints"); m_constraintType = QskLayoutConstraint::Unconstrained;