Qt::UserRole).value<void*>();
assert(sdi);
- std::map<const sr_dev_inst*, boost::shared_ptr<pv::device::Device> >::
- const_iterator iter = _device_map.find(sdi);
+ const auto iter = _device_map.find(sdi);
assert(iter != _device_map.end());
return (*iter).second;
QString text = QString::fromUtf8(title.c_str());
if (sdi->channels) {
- text += QString(" with %1 probes").arg(
+ text += QString(" with %1 channels").arg(
g_slist_length(sdi->channels));
}