Debugger: Use FileInProjectFinder for the console view

All the functionality to guess local files from remote paths is already
there.

Change-Id: I5bffeb0f126efef99edbaf152e1a5e9e1d244699
Task-number: QTCREATORBUG-12008
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Ulf Hermann
2018-06-12 10:44:10 +02:00
parent bf7e749099
commit 451e437afd
5 changed files with 23 additions and 22 deletions

View File

@@ -265,6 +265,7 @@ QmlEngine::QmlEngine()
connect(&d->applicationLauncher, &ApplicationLauncher::processStarted,
this, &QmlEngine::handleLauncherStarted);
debuggerConsole()->populateFileFinder();
debuggerConsole()->setScriptEvaluator([this](const QString &expr) {
executeDebuggerCommand(expr, QmlLanguage);
});