Commit 4f7ac845 authored by Kai Koehne's avatar Kai Koehne
Browse files

QmlInspector: Try to find files in project

Try to find files with the same name in the project tree, instead of
resorting to the original path (e.g. in the bundle).

We do the same already for locating files in the stack.

Change-Id: I836cc810f2c6fbeac41de592f2159f7ae823d4e5
Reviewed-on: http://codereview.qt.nokia.com/1783

Reviewed-by: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: default avatarChristiaan Janssen <christiaan.janssen@nokia.com>
parent 8b885e78
......@@ -314,6 +314,7 @@ void InspectorUi::connected(ClientProxy *clientProxy)
connect(m_debugProject, SIGNAL(destroyed()), SLOT(currentDebugProjectRemoved()));
m_projectFinder.setProjectDirectory(m_debugProject->projectDirectory());
m_projectFinder.setProjectFiles(m_debugProject->files(ProjectExplorer::Project::AllFiles));
connectSignals();
enable();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment