X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fpopups%2Fdeviceoptions.cpp;h=3d069f799e1f40f9a6066148804c9e73f687109c;hp=eaa036c2e237c4a38b20460709e3ef0c2664e447;hb=d260d425863efa6d80a5a5f3d920373a6d159aef;hpb=f9abf97e78bc4825d80926b0ebc6cbaef40768b1 diff --git a/pv/popups/deviceoptions.cpp b/pv/popups/deviceoptions.cpp index eaa036c2..3d069f79 100644 --- a/pv/popups/deviceoptions.cpp +++ b/pv/popups/deviceoptions.cpp @@ -25,17 +25,20 @@ #include +#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);