QmlJSInspector: Show root in property inspector

Change-Id: I281ef1f74e8d8128b91c426057c4d727a77543a6
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
This commit is contained in:
Aurindam Jana
2012-03-28 16:16:28 +02:00
committed by Kai Koehne
parent 250b612dd0
commit 16d5b5165c
7 changed files with 79 additions and 12 deletions

View File

@@ -52,7 +52,7 @@ void ContextCrumblePath::updateContextPath(const QStringList &path, const QList<
m_isEmpty = path.isEmpty();
if (m_isEmpty) {
pushElement(tr("[no context]"), -1);
pushElement(tr("[no context]"), -2);
} else {
for (int i = 0; i < path.count(); i++)
pushElement(path[i], debugIds[i]);