forked from qt-creator/qt-creator
Debugger: Do not discard macros when clicking on source mapping
Fixes: QTCREATORBUG-24816 Change-Id: I7e541d3edb7601cf91064ba30059e4a8f0aa6064 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
43b25e6d99
commit
b7c72f8621
@@ -152,8 +152,7 @@ Mapping SourcePathMappingModel::rawMappingAt(int row) const
|
|||||||
Mapping SourcePathMappingModel::mappingAt(int row) const
|
Mapping SourcePathMappingModel::mappingAt(int row) const
|
||||||
{
|
{
|
||||||
const Mapping raw = rawMappingAt(row);
|
const Mapping raw = rawMappingAt(row);
|
||||||
return isNewPlaceHolder(raw) ? Mapping()
|
return isNewPlaceHolder(raw) ? Mapping() : Mapping(raw.first, raw.second);
|
||||||
: Mapping(QDir::cleanPath(raw.first), QDir::cleanPath(raw.second));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void SourcePathMappingModel::setSourcePathMap(const SourcePathMap &m)
|
void SourcePathMappingModel::setSourcePathMap(const SourcePathMap &m)
|
||||||
|
|||||||
Reference in New Issue
Block a user