Skip to content

Commit

Permalink
Remove leading slash from qmlDefinitionContext().file()
Browse files Browse the repository at this point in the history
  • Loading branch information
rweickelt committed Nov 1, 2018
1 parent 6ee3d7a commit 0b72503
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qst/qst.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ QmlContext qmlDefinitionContext(const QObject* object)
QQmlData* data = QQmlData::get(object);
if (data && data->outerContext)
{
result["file"] = data->outerContext->url().path();
result["file"] = data->outerContext->url().toLocalFile();
result["line"] = data->lineNumber;
result["column"] = data->columnNumber;
}
Expand Down

0 comments on commit 0b72503

Please sign in to comment.