X-Git-Url: http://git.code-monkey.de/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fdata%2Fdecode%2Fannotation.cpp;h=e17dcb5177cd73ab818d31e08a8c84d60133df15;hp=6a30921e71deec541a7e8e929bcdf13e8ead1fa4;hb=27e8df221014d1a8c7769866773e8dbb0486eea8;hpb=06e810f29b6e9e3fe8ba8aba5d3823375da9bbb2 diff --git a/pv/data/decode/annotation.cpp b/pv/data/decode/annotation.cpp index 6a30921..e17dcb5 100644 --- a/pv/data/decode/annotation.cpp +++ b/pv/data/decode/annotation.cpp @@ -43,7 +43,7 @@ Annotation::Annotation(const srd_proto_data *const pdata) : const char *const *annotations = (char**)pda->ann_text; while(*annotations) { - _annotations.push_back(QString(*annotations)); + _annotations.push_back(QString::fromUtf8(*annotations)); annotations++; } }