const srd_decoder *const d = (srd_decoder*)l->data;
assert(d);
- const bool have_probes = (d->probes || d->opt_probes) != 0;
+ const bool have_probes = (d->channels || d->opt_channels) != 0;
if (first_level_decoder == have_probes) {
QAction *const action =
addAction(QString::fromUtf8(d->name));