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 >
|
||||
inline T qskFindAncestorOf( const QQuickItem* item )
|
||||
{
|
||||
return qskFindAncestorOf< std::remove_const< T > >(
|
||||
const_cast< QQuickItem* >( item ) );
|
||||
return qskFindAncestorOf< T >( const_cast< QQuickItem* >( item ) );
|
||||
}
|
||||
|
||||
inline qreal qskHeightForWidth(
|
||||
|
Loading…
x
Reference in New Issue
Block a user