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

@@ -254,6 +254,11 @@ void Console::setScriptEvaluator(const ScriptEvaluator &evaluator)
setContext(QString());
}
void Console::populateFileFinder()
{
m_consoleView->populateFileFinder();
}
void Console::printItem(ConsoleItem::ItemType itemType, const QString &text)
{
printItem(new ConsoleItem(itemType, text));