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 )
|
if ( d->autoLayoutChildren )
|
||||||
{
|
{
|
||||||
return constrainedMetric( QskLayoutConstraint::HeightForWidth,
|
using namespace QskLayoutConstraint;
|
||||||
this, width, QskLayoutConstraint::constrainedChildrenMetric );
|
return constrainedMetric( HeightForWidth, this, width, constrainedChildrenMetric );
|
||||||
}
|
}
|
||||||
|
|
||||||
return -1.0;
|
return -1.0;
|
||||||
@ -728,8 +728,8 @@ qreal QskControl::widthForHeight( qreal height ) const
|
|||||||
|
|
||||||
if ( d->autoLayoutChildren )
|
if ( d->autoLayoutChildren )
|
||||||
{
|
{
|
||||||
return constrainedMetric( QskLayoutConstraint::WidthForHeight,
|
using namespace QskLayoutConstraint;
|
||||||
this, height, QskLayoutConstraint::constrainedChildrenMetric );
|
return constrainedMetric( WidthForHeight, this, height, constrainedChildrenMetric );
|
||||||
}
|
}
|
||||||
|
|
||||||
return -1.0;
|
return -1.0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user