Debugger: make Location::fileName a Utils::FilePath

Change-Id: I637d39246ff576db1023f08c432a7f7b6aadbbaa
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
David Schulz
2020-01-02 12:37:57 +01:00
parent a7dd0e50a2
commit b23d80d537
9 changed files with 31 additions and 30 deletions

View File

@@ -211,7 +211,7 @@ bool ModulesModel::contextMenuEvent(const ItemViewEvent &ev)
addAction(menu, tr("Edit File \"%1\"").arg(moduleName),
tr("Edit File"),
moduleNameValid,
[this, modulePath] { engine->gotoLocation(modulePath); });
[this, modulePath] { engine->gotoLocation(FilePath::fromString(modulePath)); });
addAction(menu, tr("Show Symbols in File \"%1\"").arg(moduleName),
tr("Show Symbols"),