added multiselection from editor to qml viewer

This commit is contained in:
Lasse Holmstedt
2010-07-12 17:18:05 +02:00
committed by Olivier Goffart
parent 8f528e241d
commit 4ecad983ec
5 changed files with 93 additions and 44 deletions

View File

@@ -238,7 +238,7 @@ QList<QDeclarativeDebugObjectReference> ClientProxy::objectReferences(const QUrl
const QDeclarativeDebugObjectReference &objectRef) const
{
QList<QDeclarativeDebugObjectReference> result;
if (objectRef.source().url() == url)
if (objectRef.source().url() == url || url.isEmpty())
result.append(objectRef);
foreach(const QDeclarativeDebugObjectReference &child, objectRef.children()) {