Qt5 incompatibilities fixed

This commit is contained in:
Uwe Rathmann 2024-01-30 14:41:38 +01:00
parent 26ba120114
commit 3873e07765
2 changed files with 3 additions and 3 deletions

View File

@ -243,7 +243,7 @@ void QskSkin::declareSkinlet( const QMetaObject* metaObject,
} }
else else
{ {
m_data->skinletMap.emplace( metaObject, skinletMetaObject ); m_data->skinletMap.insert( metaObject, skinletMetaObject );
} }
} }

View File

@ -284,7 +284,7 @@ void WindowAnimator::addGraphicFilterAnimators(
animator.setStartValue( QVariant::fromValue( f1 ) ); animator.setStartValue( QVariant::fromValue( f1 ) );
animator.setEndValue( QVariant::fromValue( f2 ) ); animator.setEndValue( QVariant::fromValue( f2 ) );
m_graphicFilterAnimatorMap.emplace( it2.key(), animator ); m_graphicFilterAnimatorMap.insert( it2.key(), animator );
} }
} }
} }
@ -435,7 +435,7 @@ inline void WindowAnimator::storeAnimator( const QskControl* control, const QskA
{ {
if ( m_animatorMap.find( aspect ) == m_animatorMap.cend() ) if ( m_animatorMap.find( aspect ) == m_animatorMap.cend() )
{ {
m_animatorMap.emplace( aspect, m_animatorMap.insert( aspect,
HintAnimator( control, aspect, value1, value2, hint ) ); HintAnimator( control, aspect, value1, value2, hint ) );
} }
} }