const srd_decoder_option *const opt =
(srd_decoder_option*)l->data;
- const QString name(opt->desc);
+ const QString name = QString::fromUtf8(opt->desc);
const Property::Getter getter = bind(
&DecoderOptions::getter, this, opt->id);
connect(combo, SIGNAL(currentIndexChanged(int)),
this, SLOT(on_probe_selected(int)));
decoder_form->addRow(tr("<b>%1</b> (%2) *")
- .arg(p->name).arg(p->desc), combo);
+ .arg(QString::fromUtf8(p->name))
+ .arg(QString::fromUtf8(p->desc)), combo);
const ProbeSelector s = {combo, dec, p};
_probe_selectors.push_back(s);
connect(combo, SIGNAL(currentIndexChanged(int)),
this, SLOT(on_probe_selected(int)));
decoder_form->addRow(tr("<b>%1</b> (%2)")
- .arg(p->name).arg(p->desc), combo);
+ .arg(QString::fromUtf8(p->name))
+ .arg(QString::fromUtf8(p->desc)), combo);
const ProbeSelector s = {combo, dec, p};
_probe_selectors.push_back(s);