Fix crashes in tst_qquickvisualdatamodel
authorSimon Hausmann <simon.hausmann@digia.com>
Thu, 4 Jul 2013 13:44:40 +0000 (15:44 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Fri, 5 Jul 2013 07:47:07 +0000 (09:47 +0200)
commita746ca7f07c404fe2b622c26ba36ab2c9132603f
treedb0b4f6ad6a6bbe82ec7f3b4ef43e3d3edfe2693
parent63193605eb71bd45d9b1a98991fee262c301849f
Fix crashes in tst_qquickvisualdatamodel

Don't try to set the name string pointer of FunctionObject
to itself for these two FunctionObject subclasses.

Change-Id: I4e5a1963ffefd4ce96308022c251a4bdba54dc1e
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
src/qml/qml/v4/qv4functionobject_p.h
src/qml/types/qqmldelegatemodel.cpp