diff options
author | Tom Rondeau | 2011-04-23 11:29:15 -0400 |
---|---|---|
committer | Tom Rondeau | 2011-04-23 11:29:15 -0400 |
commit | 240ff2e7468d1651ad0b7557c061bb46aed8a4a3 (patch) | |
tree | c78598ca1ea982d92fc24aaad8dc77f77df5e2f5 | |
parent | ca8e6096da49c825c14ac05962bb7747f84c2ba6 (diff) | |
download | gnuradio-240ff2e7468d1651ad0b7557c061bb46aed8a4a3.tar.gz gnuradio-240ff2e7468d1651ad0b7557c061bb46aed8a4a3.tar.bz2 gnuradio-240ff2e7468d1651ad0b7557c061bb46aed8a4a3.zip |
gr-qtgui: cleaning up; don't delete d_main_gui.
-rw-r--r-- | gr-qtgui/lib/qtgui_time_sink_c.cc | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/gr-qtgui/lib/qtgui_time_sink_c.cc b/gr-qtgui/lib/qtgui_time_sink_c.cc index d6e6f0a13..064463162 100644 --- a/gr-qtgui/lib/qtgui_time_sink_c.cc +++ b/gr-qtgui/lib/qtgui_time_sink_c.cc @@ -58,7 +58,7 @@ qtgui_time_sink_c::qtgui_time_sink_c (int size, double bw, qtgui_time_sink_c::~qtgui_time_sink_c() { - delete d_main_gui; + // d_main_gui is a qwidget destroyed with its parent delete [] d_residbuf; } @@ -83,21 +83,6 @@ qtgui_time_sink_c::initialize() d_qApplication = new QApplication(argc, argv); } - /* - uint64_t maxBufferSize = 32768; - d_main_gui = new SpectrumGUIClass(maxBufferSize, d_fftsize, - d_center_freq, - -d_bandwidth/2.0, - d_bandwidth/2.0); - - d_main_gui->SetDisplayTitle(d_name); - d_main_gui->SetFFTSize(d_size); - - d_main_gui->OpenSpectrumWindow(d_parent, - d_plotfreq, d_plotwaterfall, - d_plottime, d_plotconst); - */ - d_main_gui = new TimeDisplayForm(d_parent); // initialize update time to 10 times a second |