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:
Christian Stenger
2018-10-08 08:24:06 +02:00
parent c7b65c69b1
commit 55c61e59f9

View File

@@ -134,7 +134,7 @@ SourcePathMap SourcePathMappingModel::sourcePathMap() const
bool SourcePathMappingModel::isNewPlaceHolder(const Mapping &m) const
{
const QLatin1Char lessThan('<');
const QLatin1Char greaterThan('<');
const QLatin1Char greaterThan('>');
return m.first.isEmpty() || m.first.startsWith(lessThan)
|| m.first.endsWith(greaterThan)
|| m.first == m_newSourcePlaceHolder