diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2020-01-18 15:23:35 +0100 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2020-01-18 15:23:35 +0100 |
commit | 38e3b6338c18e77cb14dae594befdbc4f4cdf8d0 (patch) | |
tree | b372c3b6593e3eced7d3bc1b8f6c79ccb4e2749d /3rdparty/QtPropertyBrowser/src/qtvariantproperty.cpp | |
parent | b67ba18590f4a4ec5bb3f1062a8b1495e88f14bb (diff) | |
download | nextpnr-38e3b6338c18e77cb14dae594befdbc4f4cdf8d0.tar.gz nextpnr-38e3b6338c18e77cb14dae594befdbc4f4cdf8d0.tar.bz2 nextpnr-38e3b6338c18e77cb14dae594befdbc4f4cdf8d0.zip |
Various warning fixes
Diffstat (limited to '3rdparty/QtPropertyBrowser/src/qtvariantproperty.cpp')
-rw-r--r-- | 3rdparty/QtPropertyBrowser/src/qtvariantproperty.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/3rdparty/QtPropertyBrowser/src/qtvariantproperty.cpp b/3rdparty/QtPropertyBrowser/src/qtvariantproperty.cpp index 03f9688c..12ea87f6 100644 --- a/3rdparty/QtPropertyBrowser/src/qtvariantproperty.cpp +++ b/3rdparty/QtPropertyBrowser/src/qtvariantproperty.cpp @@ -576,7 +576,7 @@ void QtVariantPropertyManagerPrivate::slotValueChanged(QtProperty *property, con void QtVariantPropertyManagerPrivate::slotValueChanged(QtProperty *property, const QKeySequence &val) { QVariant v; - qVariantSetValue(v, val); + v.setValue(val); valueChanged(property, v); } @@ -663,7 +663,7 @@ void QtVariantPropertyManagerPrivate::slotEnumIconsChanged(QtProperty *property, { if (QtVariantProperty *varProp = m_internalToProperty.value(property, 0)) { QVariant v; - qVariantSetValue(v, enumIcons); + v.setValue(enumIcons); emit q_ptr->attributeChanged(varProp, m_enumIconsAttribute, v); } } @@ -1567,7 +1567,7 @@ QVariant QtVariantPropertyManager::attributeValue(const QtProperty *property, co return enumManager->enumNames(internProp); if (attribute == d_ptr->m_enumIconsAttribute) { QVariant v; - qVariantSetValue(v, enumManager->enumIcons(internProp)); + v.setValue(enumManager->enumIcons(internProp)); return v; } return QVariant(); |