diff options
author | Orgad Shaneh <[email protected]> | 2020-10-26 08:20:48 +0200 |
---|---|---|
committer | Orgad Shaneh <[email protected]> | 2020-10-30 10:15:23 +0000 |
commit | b7c72f8621c7c58137b1306dab8b0faf3ac90a26 (patch) | |
tree | b0a3a52c707f4a54e911499addd2dbe508881ea5 /src/plugins/debugger/debuggersourcepathmappingwidget.cpp | |
parent | 43b25e6d99cae76d67ba7a5a050d6e12c3ab117c (diff) |
Debugger: Do not discard macros when clicking on source mapping
Fixes: QTCREATORBUG-24816
Change-Id: I7e541d3edb7601cf91064ba30059e4a8f0aa6064
Reviewed-by: hjk <[email protected]>
Diffstat (limited to 'src/plugins/debugger/debuggersourcepathmappingwidget.cpp')
-rw-r--r-- | src/plugins/debugger/debuggersourcepathmappingwidget.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/debugger/debuggersourcepathmappingwidget.cpp b/src/plugins/debugger/debuggersourcepathmappingwidget.cpp index 826b440467e..ef7b609b6be 100644 --- a/src/plugins/debugger/debuggersourcepathmappingwidget.cpp +++ b/src/plugins/debugger/debuggersourcepathmappingwidget.cpp @@ -152,8 +152,7 @@ Mapping SourcePathMappingModel::rawMappingAt(int row) const Mapping SourcePathMappingModel::mappingAt(int row) const { const Mapping raw = rawMappingAt(row); - return isNewPlaceHolder(raw) ? Mapping() - : Mapping(QDir::cleanPath(raw.first), QDir::cleanPath(raw.second)); + return isNewPlaceHolder(raw) ? Mapping() : Mapping(raw.first, raw.second); } void SourcePathMappingModel::setSourcePathMap(const SourcePathMap &m) |