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: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Christiaan Janssen <christiaan.janssen@nokia.com>
This commit is contained in:
Kai Koehne
2011-07-18 18:25:53 +02:00
parent 8b885e78fd
commit 4f7ac84555

View File

@@ -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();