forked from qt-creator/qt-creator
Debugger: Use kit macro expander instead of global one where possible
This is low hanging fruit enabling a lot more customization. Change-Id: I1a90fa731ea512852c12a55fad75551efb44e875 Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
@@ -399,6 +399,8 @@ void DebuggerRunControlCreator::enrich(const RunConfiguration *runConfig, const
|
||||
return;
|
||||
}
|
||||
|
||||
m_rp.macroExpander = m_kit->macroExpander();
|
||||
|
||||
if (m_runConfig) {
|
||||
if (auto envAspect = m_runConfig->extraAspect<EnvironmentAspect>()) {
|
||||
m_rp.inferior.environment = envAspect->environment(); // Correct.
|
||||
|
Reference in New Issue
Block a user