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:
@@ -2789,7 +2789,7 @@ void CppDebuggerEngine::validateRunParameters(DebuggerRunParameters &rp)
|
||||
bool hasEmbeddedInfo = elfData.indexOf(".debug_info") >= 0;
|
||||
bool hasLink = elfData.indexOf(".gnu_debuglink") >= 0;
|
||||
if (hasEmbeddedInfo) {
|
||||
QSharedPointer<GlobalDebuggerOptions> options = Internal::globalDebuggerOptions();
|
||||
const GlobalDebuggerOptions *options = Internal::globalDebuggerOptions();
|
||||
SourcePathRegExpMap globalRegExpSourceMap;
|
||||
globalRegExpSourceMap.reserve(options->sourcePathRegExpMap.size());
|
||||
for (auto entry : qAsConst(options->sourcePathRegExpMap)) {
|
||||
|
||||
Reference in New Issue
Block a user