diff options
author | Tom Rondeau | 2011-04-04 23:37:58 -0400 |
---|---|---|
committer | Tom Rondeau | 2011-04-04 23:37:58 -0400 |
commit | 414ff0e69704f8c75edfc2ad3284a9c1bba5e50c (patch) | |
tree | fc7e330ae466d1c734a376e08461e83e37de8d09 /gr-qtgui/lib/qtgui_sink_f.cc | |
parent | a43ea214e1ccf8dd8f4420198ecb67884d64de46 (diff) | |
download | gnuradio-414ff0e69704f8c75edfc2ad3284a9c1bba5e50c.tar.gz gnuradio-414ff0e69704f8c75edfc2ad3284a9c1bba5e50c.tar.bz2 gnuradio-414ff0e69704f8c75edfc2ad3284a9c1bba5e50c.zip |
gr-qtgui: removing unnecessary mutex and qtevent objects.
Diffstat (limited to 'gr-qtgui/lib/qtgui_sink_f.cc')
-rw-r--r-- | gr-qtgui/lib/qtgui_sink_f.cc | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/gr-qtgui/lib/qtgui_sink_f.cc b/gr-qtgui/lib/qtgui_sink_f.cc index 984c2803c..3b3140b5e 100644 --- a/gr-qtgui/lib/qtgui_sink_f.cc +++ b/gr-qtgui/lib/qtgui_sink_f.cc @@ -104,16 +104,6 @@ qtgui_sink_f::forecast(int noutput_items, gr_vector_int &ninput_items_required) } } -void qtgui_sink_f::lock() -{ - d_mutex.lock(); -} - -void qtgui_sink_f::unlock() -{ - d_mutex.unlock(); -} - void qtgui_sink_f::initialize(const bool opengl) { @@ -143,9 +133,6 @@ qtgui_sink_f::initialize(const bool opengl) // initialize update time to 10 times a second set_update_time(0.1); - - d_object = new qtgui_obj(d_qApplication); - qApp->postEvent(d_object, new qtgui_event(d_mutex)); } void @@ -283,8 +270,6 @@ qtgui_sink_f::general_work (int noutput_items, int j=0; const float *in = (const float*)input_items[0]; - gruel::scoped_lock lock(d_mutex); - // Update the FFT size from the application fftresize(); windowreset(); |