| 676 | } |
| 677 | |
| 678 | void SamplingBar::apply_sample_count(double &hori_res) |
| 679 | { |
| 680 | hori_res = -1; |
| 681 | |
| 682 | if (_device_agent->get_work_mode() == DSO){ |
| 683 | hori_res = commit_hori_res(); |
| 684 | |
| 685 | if (_session->have_view_data() == false){ |
| 686 | _session->apply_samplerate(); |
| 687 | } |
| 688 | } |
| 689 | |
| 690 | _session->broadcast_msg(DSV_MSG_DEVICE_DURATION_UPDATED); |
| 691 | } |
| 692 | |
| 693 | void SamplingBar::on_samplecount_sel(int index) |
| 694 | { |
nothing calls this directly
no test coverage detected