From 60c8ec4746997cc502d3e0d53b1ee53066de4a16 Mon Sep 17 00:00:00 2001 From: Uwe Rathmann Date: Fri, 23 Oct 2020 12:48:34 +0200 Subject: [PATCH] avoid dprecated APIs --- src/controls/QskQuick.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controls/QskQuick.cpp b/src/controls/QskQuick.cpp index ea3c231a..8b2e807e 100644 --- a/src/controls/QskQuick.cpp +++ b/src/controls/QskQuick.cpp @@ -389,7 +389,7 @@ QSizeF qskEffectiveSizeHint( const QQuickItem* item, }; const QVariant v = item->property( properties[ whichHint ] ); - if ( v.canConvert( QMetaType::QSizeF ) ) + if ( v.canConvert< QSizeF >() ) hint = v.toSizeF(); if ( whichHint == Qt::PreferredSize )