QmlJSInspector: Code cosmetics

This commit is contained in:
Thorbjørn Lindeijer
2011-02-17 12:27:54 +01:00
parent 07014f82a0
commit 522ffd8622
7 changed files with 84 additions and 82 deletions

View File

@@ -535,7 +535,7 @@ inline QDeclarativeDebugObjectReference findParentRecursive( int goalDebugId,
void InspectorUi::selectItems(const QList<QDeclarativeDebugObjectReference> &objectReferences)
{
foreach (const QDeclarativeDebugObjectReference &objref, objectReferences)
foreach (const QDeclarativeDebugObjectReference &objref, objectReferences) {
if (objref.debugId() != -1) {
// select only the first valid element of the list
@@ -548,6 +548,7 @@ void InspectorUi::selectItems(const QList<QDeclarativeDebugObjectReference> &obj
gotoObjectReferenceDefinition(objref);
return;
}
}
}
inline QString displayName(const QDeclarativeDebugObjectReference &obj)