From 153a682fd53119888b2801d3f4d211bc9a5862ea Mon Sep 17 00:00:00 2001 From: Uwe Rathmann Date: Thu, 5 Sep 2019 12:37:27 +0200 Subject: [PATCH] missing namespace qualifier added --- src/controls/QskControl.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/controls/QskControl.cpp b/src/controls/QskControl.cpp index 642b0915..bb17a76d 100644 --- a/src/controls/QskControl.cpp +++ b/src/controls/QskControl.cpp @@ -713,8 +713,8 @@ qreal QskControl::heightForWidth( qreal width ) const if ( d->autoLayoutChildren ) { - return constrainedMetric( QskLayoutConstraint::HeightForWidth, - this, width, QskLayoutConstraint::constrainedChildrenMetric ); + using namespace QskLayoutConstraint; + return constrainedMetric( HeightForWidth, this, width, constrainedChildrenMetric ); } return -1.0; @@ -728,8 +728,8 @@ qreal QskControl::widthForHeight( qreal height ) const if ( d->autoLayoutChildren ) { - return constrainedMetric( QskLayoutConstraint::WidthForHeight, - this, height, QskLayoutConstraint::constrainedChildrenMetric ); + using namespace QskLayoutConstraint; + return constrainedMetric( WidthForHeight, this, height, constrainedChildrenMetric ); } return -1.0;