forked from qt-creator/qt-creator
Debugger: Use new IOptionPage convenience for global options
Change-Id: I42391a01027f25be638b2d1b839d3038bced5f33 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -251,8 +251,7 @@ void CdbEngine::init()
|
||||
}
|
||||
}
|
||||
|
||||
const QSharedPointer<GlobalDebuggerOptions> globalOptions = Internal::globalDebuggerOptions();
|
||||
SourcePathMap sourcePathMap = globalOptions->sourcePathMap;
|
||||
const SourcePathMap &sourcePathMap = Internal::globalDebuggerOptions()->sourcePathMap;
|
||||
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