| 112 | } |
| 113 | |
| 114 | void Variable::setInScope(bool v) |
| 115 | { |
| 116 | for (int i=0; i < childCount(); ++i) { |
| 117 | if (auto *var = qobject_cast<Variable*>(child(i))) { |
| 118 | var->setInScope(v); |
| 119 | } |
| 120 | } |
| 121 | if (v != m_inScope) { |
| 122 | m_inScope = v; |
| 123 | reportChange(VariableCollection::ValueColumn); |
| 124 | } |
| 125 | } |
| 126 | |
| 127 | void Variable::setShowError (bool v) |
| 128 | { |
no test coverage detected