// Only allow triggers to be changed when we're stopped
if (session_.get_capture_state() != Session::Stopped)
- for (QAction* action : trigger_bar_->findChildren<QAction*>())
+ for (QAction* action : trigger_bar_->findChildren<QAction*>()) // clazy:exclude=range-loop
action->setEnabled(false);
form->addRow(tr("Trigger"), trigger_bar_);