projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use namespaces in enum.cpp
[pulseview.git]
/
pv
/
prop
/
binding
/
binding.cpp
diff --git
a/pv/prop/binding/binding.cpp
b/pv/prop/binding/binding.cpp
index e75b9556d638054b141a346125587e24f04e1b2b..5d411686f4a820f8ea686e191091f1b6d8c5500b 100644
(file)
--- a/
pv/prop/binding/binding.cpp
+++ b/
pv/prop/binding/binding.cpp
@@
-40,7
+40,7
@@
Binding::Binding() :
QWidget* Binding::get_form(QWidget *parent)
{
QWidget* Binding::get_form(QWidget *parent)
{
- if(_form)
+ if
(_form)
return _form;
_form = new QWidget(parent);
return _form;
_form = new QWidget(parent);
@@
-56,6
+56,15
@@
QWidget* Binding::get_form(QWidget *parent)
return _form;
}
return _form;
}
+void Binding::commit()
+{
+ BOOST_FOREACH(shared_ptr<Property> p, _properties)
+ {
+ assert(p);
+ p->commit();
+ }
+}
+
} // binding
} // prop
} // pv
} // binding
} // prop
} // pv