QmlDebugger: adding slots to items in Live Preview

Reviewed-by: Kai Koehne
This commit is contained in:
Christiaan Janssen
2011-04-29 15:34:12 +02:00
parent 5e543b2856
commit 89d9b83aa2
6 changed files with 16 additions and 7 deletions

View File

@@ -463,7 +463,7 @@ protected:
if (isLiteral)
expr = castToLiteral(scriptCode, scriptBinding);
appliedChangesToViewer = true;
m_clientProxy->setBindingForObject(debugId, propertyName, expr, isLiteral);
m_clientProxy->setBindingForObject(debugId, propertyName, expr, isLiteral, document()->fileName(), scriptBinding->firstSourceLocation().startLine);
}
virtual void resetBindingForObject(int debugId, const QString &propertyName)