]> sigrok.org Git - pulseview.git/blobdiff - pv/popups/deviceoptions.cpp
Hide the configure device button when the popup would be empty
[pulseview.git] / pv / popups / deviceoptions.cpp
index ac7c2b78f3c3eb0245e77e3d6dc248e47264e801..6f9d7d9f558ebe3e56a2aec7c48db5c2016f1a7d 100644 (file)
@@ -27,9 +27,6 @@
 
 #include <pv/prop/property.h>
 
-using namespace boost;
-using namespace std;
-
 namespace pv {
 namespace popups {
 
@@ -44,5 +41,10 @@ DeviceOptions::DeviceOptions(sr_dev_inst *sdi, QWidget *parent) :
        _layout.addWidget(_binding.get_property_form(this, true));
 }
 
+pv::prop::binding::DeviceOptions& DeviceOptions::binding()
+{
+       return _binding;
+}
+
 } // namespace popups
 } // namespace pv