forked from qt-creator/qt-creator
Debugger: Use an aspect for the source path mapping
More in line with the other settings. Change-Id: I86494f1955120cddda7d2f2eec8ba0fdbfd99585 Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
@@ -254,7 +254,7 @@ void CdbEngine::init()
|
||||
}
|
||||
}
|
||||
|
||||
const SourcePathMap &sourcePathMap = Internal::globalDebuggerOptions()->sourcePathMap;
|
||||
const SourcePathMap &sourcePathMap = debuggerSettings()->sourcePathMap.value();
|
||||
if (!sourcePathMap.isEmpty()) {
|
||||
for (auto it = sourcePathMap.constBegin(), cend = sourcePathMap.constEnd(); it != cend; ++it) {
|
||||
m_sourcePathMappings.push_back({QDir::toNativeSeparators(it.key()),
|
||||
|
||||
Reference in New Issue
Block a user