diff options
| author | Marcus Tillmanns <marcus.tillmanns@qt.io> | 2023-03-14 15:27:25 +0100 |
|---|---|---|
| committer | hjk <hjk@qt.io> | 2023-03-14 14:51:41 +0000 |
| commit | 7f1e6d0e9be29157a8f81ac334f691c1a12ed746 (patch) | |
| tree | 61a0e66b6c275dfdde42c33428f1700e15344bc5 /src/plugins/debugger/moduleshandler.cpp | |
| parent | e093c39727b3a31ef9c89e9f571edcfe4c163e35 (diff) | |
| download | qt-creator-7f1e6d0e9be29157a8f81ac334f691c1a12ed746.tar.gz | |
Debugger: Fix QString=>FilePath
Change-Id: I32128c7a47ab8bdd06237251c572be3d6a5df1d1
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Diffstat (limited to 'src/plugins/debugger/moduleshandler.cpp')
| -rw-r--r-- | src/plugins/debugger/moduleshandler.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/debugger/moduleshandler.cpp b/src/plugins/debugger/moduleshandler.cpp index 3451b9b572..26d1cd2340 100644 --- a/src/plugins/debugger/moduleshandler.cpp +++ b/src/plugins/debugger/moduleshandler.cpp @@ -161,7 +161,7 @@ bool ModulesModel::contextMenuEvent(const ItemViewEvent &ev) addAction(this, menu, Tr::tr("Show Source Files for Module \"%1\"").arg(moduleName), Tr::tr("Show Source Files for Module"), moduleNameValid && enabled && canReload, - [this, modulePath] { engine->loadSymbols(modulePath); }); + [this, modulePath] { engine->loadSymbols(FilePath::fromUserInput(modulePath)); }); // FIXME: Dependencies only available on Windows, when "depends" is installed. addAction(this, menu, Tr::tr("Show Dependencies of \"%1\"").arg(moduleName), @@ -180,7 +180,7 @@ bool ModulesModel::contextMenuEvent(const ItemViewEvent &ev) addAction(this, menu, Tr::tr("Load Symbols for Module \"%1\"").arg(moduleName), Tr::tr("Load Symbols for Module"), moduleNameValid && canLoadSymbols, - [this, modulePath] { engine->loadSymbols(modulePath); }); + [this, modulePath] { engine->loadSymbols(FilePath::fromUserInput(modulePath)); }); addAction(this, menu, Tr::tr("Edit File \"%1\"").arg(moduleName), Tr::tr("Edit File"), @@ -190,12 +190,12 @@ bool ModulesModel::contextMenuEvent(const ItemViewEvent &ev) addAction(this, menu, Tr::tr("Show Symbols in File \"%1\"").arg(moduleName), Tr::tr("Show Symbols"), canShowSymbols && moduleNameValid, - [this, modulePath] { engine->requestModuleSymbols(modulePath); }); + [this, modulePath] { engine->requestModuleSymbols(FilePath::fromUserInput(modulePath)); }); addAction(this, menu, Tr::tr("Show Sections in File \"%1\"").arg(moduleName), Tr::tr("Show Sections"), canShowSymbols && moduleNameValid, - [this, modulePath] { engine->requestModuleSections(modulePath); }); + [this, modulePath] { engine->requestModuleSections(FilePath::fromUserInput(modulePath)); }); menu->addAction(debuggerSettings()->settingsDialog.action()); |
