projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mingw: Add the sigrok icon for pulseview.exe.
[pulseview.git]
/
pv
/
prop
/
string.cpp
diff --git
a/pv/prop/string.cpp
b/pv/prop/string.cpp
index b8f3351cf8fb2acbc160a7bcd41bfb529443ddd3..37efc148255848be1103e8cb5beca9ea48485c20 100644
(file)
--- a/
pv/prop/string.cpp
+++ b/
pv/prop/string.cpp
@@
-20,13
+20,11
@@
#include <assert.h>
#include <assert.h>
+#include <QLineEdit>
#include <QSpinBox>
#include "string.h"
#include <QSpinBox>
#include "string.h"
-using namespace std;
-using namespace boost;
-
namespace pv {
namespace prop {
namespace pv {
namespace prop {
@@
-47,7
+45,7
@@
QWidget* String::get_widget(QWidget *parent, bool auto_commit)
GVariant *const value = _getter ? _getter() : NULL;
if (value) {
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);
}
g_variant_get_string(value, NULL)));
g_variant_unref(value);
}