X-Git-Url: https://sigrok.org/gitweb/?p=pulseview.git;a=blobdiff_plain;f=pv%2Fprop%2Fint.cpp;h=2930a3ea1e8c96b5d0091e6c2b640050ecb5d09f;hp=415ee866f6f764df6b02761d6c337a05cdd13a85;hb=2601ce965fc455d23f5a964b84ddd74eb93705c4;hpb=870ea3dbf35b182e120c5d84ab89bf9cb7691232 diff --git a/pv/prop/int.cpp b/pv/prop/int.cpp index 415ee866..2930a3ea 100644 --- a/pv/prop/int.cpp +++ b/pv/prop/int.cpp @@ -17,8 +17,8 @@ * along with this program; if not, see . */ -#include #include +#include #include @@ -33,11 +33,12 @@ namespace pv { namespace prop { Int::Int(QString name, + QString desc, QString suffix, optional< pair > range, Getter getter, Setter setter) : - Property(name, getter, setter), + Property(name, desc, getter, setter), suffix_(suffix), range_(range), spin_box_(nullptr) @@ -93,7 +94,7 @@ QWidget* Int::get_widget(QWidget *parent, bool auto_commit) assert(false); } - // @todo Sigrok supports 64-bit quantities, but Qt does not have a + // @todo sigrok supports 64-bit quantities, but Qt does not have a // standard widget to allow the values to be modified over the full // 64-bit range on 32-bit machines. To solve the issue we need a // custom widget.