ProjectExplorer: Use a ProjectConfiguration's own MacroExpander

... rather than the Target's.

Change-Id: I2ecbe64f947e19abfbbec8904c38ae5591d4bd9f
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Christian Kandeler
2025-03-11 14:59:36 +01:00
parent d9d93bb379
commit c9c03fce02

View File

@@ -99,5 +99,5 @@ Id ProjectExplorer::idFromMap(const Store &map)
QString ProjectConfiguration::expandedDisplayName() const
{
return m_target->macroExpander()->expand(m_displayName.value());
return macroExpander()->expand(m_displayName.value());
}