Debugger: Adapt to change in FilePath

Change-Id: I947f7c22bd59e445c94784fc50f29f6b571aad5a
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Christian Stenger
2023-01-18 08:46:24 +01:00
parent b9aac89961
commit 3e14368d29
4 changed files with 4 additions and 4 deletions

View File

@@ -281,7 +281,7 @@ void ModulesHandler::updateModule(const Module &module)
}
try { // MinGW occasionallly throws std::bad_alloc.
ElfReader reader(FilePath::fromString(path));
ElfReader reader(FilePath::fromUserInput(path));
item->module.elfData = reader.readHeaders();
item->update();
} catch(...) {