X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fpopups%2Fdeviceoptions.cpp;h=3d069f799e1f40f9a6066148804c9e73f687109c;hp=353dfcfedfe941df0ded87663eae7bf28bc2913d;hb=d260d425863efa6d80a5a5f3d920373a6d159aef;hpb=d9aecf1fcd9af471db3b59de7efc65b9632a6d79 diff --git a/pv/popups/deviceoptions.cpp b/pv/popups/deviceoptions.cpp index 353dfcfe..3d069f79 100644 --- a/pv/popups/deviceoptions.cpp +++ b/pv/popups/deviceoptions.cpp @@ -25,17 +25,20 @@ #include -using boost::shared_ptr; +#include + +using std::shared_ptr; + +using sigrok::Device; namespace pv { namespace popups { -DeviceOptions::DeviceOptions(shared_ptr dev_inst, - QWidget *parent) : +DeviceOptions::DeviceOptions(shared_ptr device, QWidget *parent) : Popup(parent), - _dev_inst(dev_inst), + _device(device), _layout(this), - _binding(dev_inst) + _binding(device) { setLayout(&_layout);