QmlPuppet: Remove unused m_modelAbstractPropertyHash

Change-Id: Ie032e51a856b0081c63b715a6324d9638820c1ee
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
This commit is contained in:
Thomas Hartmann
2015-05-19 11:08:25 +02:00
committed by Thomas Hartmann
parent aa1b52aec9
commit 37bfa979b3
2 changed files with 0 additions and 6 deletions
@@ -554,8 +554,6 @@ bool ObjectNodeInstance::hasBindingForProperty(const PropertyName &name, bool *h
void ObjectNodeInstance::doResetProperty(const PropertyName &propertyName)
{
m_modelAbstractPropertyHash.remove(propertyName);
QQmlProperty property(object(), propertyName, context());
if (!property.isValid())
@@ -605,9 +603,6 @@ QVariant ObjectNodeInstance::property(const PropertyName &name) const
if (ignoredProperties().contains(name))
return QVariant();
if (m_modelAbstractPropertyHash.contains(name))
return QVariant::fromValue(m_modelAbstractPropertyHash.value(name));
// TODO: handle model nodes
if (QmlPrivateGate::isPropertyBlackListed(name))
@@ -203,7 +203,6 @@ protected:
private:
QHash<PropertyName, QVariant> m_resetValueHash;
QHash<PropertyName, QWeakPointer<QQmlAbstractBinding> > m_resetBindingHash;
QHash<PropertyName, ServerNodeInstance> m_modelAbstractPropertyHash;
mutable QHash<PropertyName, bool> m_hasBindingHash;
QString m_id;