aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/coreplugin
diff options
context:
space:
mode:
authorhjk <hjk121@nokiamail.com>2014-11-05 10:30:51 +0100
committerhjk <hjk121@nokiamail.com>2014-11-05 12:05:18 +0100
commitbb81a61814397a620ed0ea8de03c0b2d3b89ac46 (patch)
tree16c1b35d8771297a09ecb4d36d5fc9faafa16780 /src/plugins/coreplugin
parenta12344ce61954bb0819f3c507b9ee5fa52e8d722 (diff)
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>
Diffstat (limited to 'src/plugins/coreplugin')
-rw-r--r--src/plugins/coreplugin/variablechooser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/coreplugin/variablechooser.cpp b/src/plugins/coreplugin/variablechooser.cpp
index 9856a323d4..5b7bda4d3e 100644
--- a/src/plugins/coreplugin/variablechooser.cpp
+++ b/src/plugins/coreplugin/variablechooser.cpp
@@ -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;