missing namespace qualifier added
This commit is contained in:
parent
27bb868f9d
commit
153a682fd5
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user