Gui: QVariant::Type is deprecated, use QMetaType::Type

This commit is contained in:
wmayer
2022-12-31 20:48:50 +01:00
parent 315ddaf75d
commit fec35dfdc5
2 changed files with 3 additions and 3 deletions

View File

@@ -347,9 +347,9 @@ PrefComboBox::~PrefComboBox()
{
}
QVariant::Type PrefComboBox::getParamType() const
QMetaType::Type PrefComboBox::getParamType() const
{
return property("prefType").type();
return static_cast<QMetaType::Type>(property("prefType").userType());
}
void PrefComboBox::restorePreferences()