forked from qt-creator/qt-creator
ProjectExplorer: Replace ProjectConfiguration::m_macroExpander
... by MacroExpanders in Build and RunConfiguration. Deploy didn't use its own, BuildStep always composed an empty expander with the BuildConfiguration's, uses now the BuildConfiguration's expander directly. Change-Id: I9de51bfc32aeb3d73f4974175e42a37807e49ac1 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -322,7 +322,7 @@ public:
|
||||
IDevice::ConstPtr device;
|
||||
Core::Id runMode;
|
||||
Utils::Icon icon;
|
||||
MacroExpander *macroExpander;
|
||||
const MacroExpander *macroExpander;
|
||||
QPointer<RunConfiguration> runConfiguration; // Not owned. Avoid use.
|
||||
QString buildKey;
|
||||
QMap<Core::Id, QVariantMap> settingsData;
|
||||
@@ -896,7 +896,7 @@ Kit *RunControl::kit() const
|
||||
return d->kit;
|
||||
}
|
||||
|
||||
MacroExpander *RunControl::macroExpander() const
|
||||
const MacroExpander *RunControl::macroExpander() const
|
||||
{
|
||||
return d->macroExpander;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user