- auto type = TriggerMatchType::get(type_id);
- trigger_bar_->addAction(match_action(type));
- match_action(type)->setChecked(trigger_match_ == type);
+ const TriggerMatchType *const type =
+ TriggerMatchType::get(type_id);
+ QAction *const action = match_action(type);
+ trigger_bar_->addAction(action);
+ action->setChecked(trigger_match_ == type);