forked from qt-creator/qt-creator
QmlDesigner: Remove unused function in ObjectNodeInstance
Change-Id: I4286439082f25fa1eeaf4b90ae3d00aedd80cd51 Reviewed-by: Christian Kandeler <christian.kandeler@digia.com> Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
This commit is contained in:
committed by
Thomas Hartmann
parent
b13a47f566
commit
d0afdfcc2b
@@ -153,16 +153,6 @@ void ObjectNodeInstance::setNodeInstanceServer(NodeInstanceServer *server)
|
||||
m_nodeInstanceServer = server;
|
||||
}
|
||||
|
||||
static bool hasPropertiesWitoutNotifications(const QMetaObject *metaObject)
|
||||
{
|
||||
for (int propertyIndex = QObject::staticMetaObject.propertyCount(); propertyIndex < metaObject->propertyCount(); propertyIndex++) {
|
||||
if (!metaObject->property(propertyIndex).hasNotifySignal())
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
void ObjectNodeInstance::initializePropertyWatcher(const ObjectNodeInstance::Pointer &objectNodeInstance)
|
||||
{
|
||||
m_metaObject = NodeInstanceMetaObject::createNodeInstanceMetaObject(objectNodeInstance, nodeInstanceServer()->engine());
|
||||
|
||||
Reference in New Issue
Block a user