forked from qt-creator/qt-creator
Debugger: Fix wrong check in source path mapping
Change-Id: I4b11795326371c9bc30d42cf2fbf29932639f5d6 Reviewed-by: Orgad Shaneh <orgads@gmail.com> Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -134,7 +134,7 @@ SourcePathMap SourcePathMappingModel::sourcePathMap() const
|
|||||||
bool SourcePathMappingModel::isNewPlaceHolder(const Mapping &m) const
|
bool SourcePathMappingModel::isNewPlaceHolder(const Mapping &m) const
|
||||||
{
|
{
|
||||||
const QLatin1Char lessThan('<');
|
const QLatin1Char lessThan('<');
|
||||||
const QLatin1Char greaterThan('<');
|
const QLatin1Char greaterThan('>');
|
||||||
return m.first.isEmpty() || m.first.startsWith(lessThan)
|
return m.first.isEmpty() || m.first.startsWith(lessThan)
|
||||||
|| m.first.endsWith(greaterThan)
|
|| m.first.endsWith(greaterThan)
|
||||||
|| m.first == m_newSourcePlaceHolder
|
|| m.first == m_newSourcePlaceHolder
|
||||||
|
Reference in New Issue
Block a user