#include <libsigrokdecode/libsigrokdecode.h>
}
-#include "annotation.h"
+#include <vector>
-using namespace std;
+#include "annotation.h"
namespace pv {
namespace data {
const char *const *annotations = (char**)pda->ann_text;
while(*annotations) {
- _annotations.push_back(QString(*annotations));
+ _annotations.push_back(QString::fromUtf8(*annotations));
annotations++;
}
}