forked from qt-creator/qt-creator
MacroExpander: Fall back to global expander
... and use that all over the place. Change-Id: Ie6e0ed0f0d9eaba9b4466761e6b455f33a905086 Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
@@ -300,7 +300,7 @@ QString Kit::unexpandedDisplayName() const
|
||||
|
||||
QString Kit::displayName() const
|
||||
{
|
||||
return Utils::expandMacros(d->m_unexpandedDisplayName, &d->m_macroExpander);
|
||||
return d->m_macroExpander.expand(d->m_unexpandedDisplayName);
|
||||
}
|
||||
|
||||
static QString candidateName(const QString &name, const QString &postfix)
|
||||
|
||||
Reference in New Issue
Block a user