QmlInspector: fixed bug in crumblepath

This commit is contained in:
Christiaan Janssen
2011-02-28 17:14:00 +01:00
parent d24ebfed3d
commit 512fe4b668
2 changed files with 6 additions and 4 deletions

View File

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