diff options
author | Tom Rondeau | 2012-10-12 15:26:20 -0400 |
---|---|---|
committer | Tom Rondeau | 2012-10-12 15:26:20 -0400 |
commit | d2048cb7c850f35ecca85596515363361ccd8f12 (patch) | |
tree | b334b95bebd9b9e658802e70cd15f96789b632e8 /gr-qtgui/lib | |
parent | 48dd3fed73409a22b1bfd612cb74352cc555d0d0 (diff) | |
download | gnuradio-d2048cb7c850f35ecca85596515363361ccd8f12.tar.gz gnuradio-d2048cb7c850f35ecca85596515363361ccd8f12.tar.bz2 gnuradio-d2048cb7c850f35ecca85596515363361ccd8f12.zip |
qtgui: fixed qtgui time sink to take the bandwidth parameter to set x-axis correctly.
Diffstat (limited to 'gr-qtgui/lib')
-rw-r--r-- | gr-qtgui/lib/qtgui_time_sink_c.cc | 1 | ||||
-rw-r--r-- | gr-qtgui/lib/qtgui_time_sink_f.cc | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/gr-qtgui/lib/qtgui_time_sink_c.cc b/gr-qtgui/lib/qtgui_time_sink_c.cc index 574fd93ad..773199462 100644 --- a/gr-qtgui/lib/qtgui_time_sink_c.cc +++ b/gr-qtgui/lib/qtgui_time_sink_c.cc @@ -83,6 +83,7 @@ qtgui_time_sink_c::initialize() } d_main_gui = new TimeDisplayForm(d_nconnections, d_parent); + d_main_gui->setFrequencyRange(0, 0, d_bandwidth); // initialize update time to 10 times a second set_update_time(0.1); diff --git a/gr-qtgui/lib/qtgui_time_sink_f.cc b/gr-qtgui/lib/qtgui_time_sink_f.cc index 09fdf0a92..1a23023b5 100644 --- a/gr-qtgui/lib/qtgui_time_sink_f.cc +++ b/gr-qtgui/lib/qtgui_time_sink_f.cc @@ -83,6 +83,7 @@ qtgui_time_sink_f::initialize() } d_main_gui = new TimeDisplayForm(d_nconnections, d_parent); + d_main_gui->setFrequencyRange(0, 0, d_bandwidth); // initialize update time to 10 times a second set_update_time(0.1); |