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:
@@ -43,7 +43,7 @@
|
||||
#include <coreplugin/idocument.h>
|
||||
|
||||
#include <utils/qtcassert.h>
|
||||
#include <utils/stringutils.h>
|
||||
#include <utils/macroexpander.h>
|
||||
#include <utils/algorithm.h>
|
||||
|
||||
#include <QDebug>
|
||||
@@ -155,7 +155,7 @@ QList<NamedWidget *> BuildConfiguration::createSubConfigWidgets()
|
||||
return QList<NamedWidget *>() << new BuildEnvironmentWidget(this);
|
||||
}
|
||||
|
||||
Utils::AbstractMacroExpander *BuildConfiguration::macroExpander()
|
||||
Utils::MacroExpander *BuildConfiguration::macroExpander()
|
||||
{
|
||||
if (!m_macroExpander)
|
||||
m_macroExpander = new Internal::BuildConfigMacroExpander(this);
|
||||
|
||||
Reference in New Issue
Block a user