]> sigrok.org Git - pulseview.git/blobdiff - pv/prop/binding/decoderoptions.cpp
SamplingBar: Improved event loop protection
[pulseview.git] / pv / prop / binding / decoderoptions.cpp
index 361d85b2bbbbec202638b28b67675ce4d7fff934..8738300ee9550007486c2b81f2fee1749f0293c5 100644 (file)
 #include <pv/prop/int.h>
 #include <pv/prop/string.h>
 
-using namespace boost;
-using namespace std;
+using boost::bind;
+using boost::none;
+using boost::shared_ptr;
+using std::map;
+using std::string;
 
 namespace pv {
 namespace prop {
@@ -54,7 +57,7 @@ DecoderOptions::DecoderOptions(
                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);