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:
@@ -3949,8 +3949,7 @@ void GdbEngine::setupEngine()
|
||||
// Apply source path mappings from global options.
|
||||
//showMessage(_("Assuming Qt is installed at %1").arg(qtInstallPath));
|
||||
const SourcePathMap sourcePathMap =
|
||||
DebuggerSourcePathMappingWidget::mergePlatformQtPath(rp,
|
||||
Internal::globalDebuggerOptions()->sourcePathMap);
|
||||
mergePlatformQtPath(rp, debuggerSettings()->sourcePathMap.value());
|
||||
const SourcePathMap completeSourcePathMap =
|
||||
mergeStartParametersSourcePathMap(rp, sourcePathMap);
|
||||
for (auto it = completeSourcePathMap.constBegin(), cend = completeSourcePathMap.constEnd();
|
||||
|
||||
Reference in New Issue
Block a user