forked from qt-creator/qt-creator
Provide a facility to hide macros in the chooser
... and use it for the Current* fallbacks in the Kit expander. Change-Id: I1d346aa56647f6d3030bd4384eb89e2a27db6418 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -260,7 +260,7 @@ VariableChooserPrivate::VariableChooserPrivate(VariableChooser *parent)
|
||||
|
||||
void VariableGroupItem::populateGroup(MacroExpander *expander)
|
||||
{
|
||||
foreach (const QByteArray &variable, expander->variables()) {
|
||||
foreach (const QByteArray &variable, expander->visibleVariables()) {
|
||||
auto item = new VariableItem;
|
||||
item->m_variable = QString::fromUtf8(variable);
|
||||
item->m_expander = expander;
|
||||
|
||||
Reference in New Issue
Block a user