qskFindAncestorOf - const version fixed
This commit is contained in:
parent
7ab7916740
commit
266ccc8f21
@ -96,8 +96,7 @@ inline T qskFindAncestorOf( QQuickItem* item )
|
|||||||
template< typename T >
|
template< typename T >
|
||||||
inline T qskFindAncestorOf( const QQuickItem* item )
|
inline T qskFindAncestorOf( const QQuickItem* item )
|
||||||
{
|
{
|
||||||
return qskFindAncestorOf< std::remove_const< T > >(
|
return qskFindAncestorOf< T >( const_cast< QQuickItem* >( item ) );
|
||||||
const_cast< QQuickItem* >( item ) );
|
|
||||||
}
|
}
|
||||||
|
|
||||||
inline qreal qskHeightForWidth(
|
inline qreal qskHeightForWidth(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user