X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;ds=sidebyside;f=pv%2Ftoolbars%2Fsamplingbar.cpp;h=401652cbe7b251eba52fe6bcd998cd2a98dd80d4;hb=b4d91e564cfb71d76e4aa8a4328b8a3b739ce383;hp=c35faadad49f5773a179810165bc8b5e8dda4013;hpb=6374d2f8a360e9ca7670d437fc783f8086de1d08;p=pulseview.git diff --git a/pv/toolbars/samplingbar.cpp b/pv/toolbars/samplingbar.cpp index c35faad..401652c 100644 --- a/pv/toolbars/samplingbar.cpp +++ b/pv/toolbars/samplingbar.cpp @@ -72,7 +72,7 @@ SamplingBar::SamplingBar(QWidget *parent) : _run_stop_button(this) { connect(&_run_stop_button, SIGNAL(clicked()), - this, SIGNAL(run_stop())); + this, SLOT(on_run_stop())); connect(&_device_selector, SIGNAL(currentIndexChanged (int)), this, SLOT(on_device_selected())); connect(&_configure_button, SIGNAL(clicked()), @@ -303,5 +303,11 @@ void SamplingBar::on_configure() update_sample_rate_selector_value(); } +void SamplingBar::on_run_stop() +{ + commit_sample_rate(); + run_stop(); +} + } // namespace toolbars } // namespace pv