X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fprop%2Fstring.cpp;h=37efc148255848be1103e8cb5beca9ea48485c20;hp=c2b2c67c26a5c97377dff2b853759206ef65ffe7;hb=941c1ba74ba3ba6dd44bf23aafee28809138032b;hpb=4e5a4405482a296ebb6014e627298ad156c78d55 diff --git a/pv/prop/string.cpp b/pv/prop/string.cpp index c2b2c67c..37efc148 100644 --- a/pv/prop/string.cpp +++ b/pv/prop/string.cpp @@ -25,9 +25,6 @@ #include "string.h" -using namespace std; -using namespace boost; - namespace pv { namespace prop { @@ -48,7 +45,7 @@ QWidget* String::get_widget(QWidget *parent, bool auto_commit) GVariant *const value = _getter ? _getter() : NULL; if (value) { - _line_edit->setText(QString( + _line_edit->setText(QString::fromUtf8( g_variant_get_string(value, NULL))); g_variant_unref(value); }