diff options
author | Thomas Habets <thomas@habets.se> | 2021-02-19 17:38:58 +0000 |
---|---|---|
committer | Martin Braun <martin@gnuradio.org> | 2021-02-26 01:17:25 -0800 |
commit | 4b7006db76b570e4d916e263301333d2f4d2a2df (patch) | |
tree | fb618398b0a1900f2b47749d6a2928570c9ebbf2 /gr-qtgui/lib/number_sink_impl.cc | |
parent | 044b4a3b49b67adfe53e0e88f9adf847a25fad61 (diff) |
qtgui: Remove manual memory management
Signed-off-by: Thomas Habets <thomas@habets.se>
Diffstat (limited to 'gr-qtgui/lib/number_sink_impl.cc')
-rw-r--r-- | gr-qtgui/lib/number_sink_impl.cc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/gr-qtgui/lib/number_sink_impl.cc b/gr-qtgui/lib/number_sink_impl.cc index 5d1828a900..93ea4979f1 100644 --- a/gr-qtgui/lib/number_sink_impl.cc +++ b/gr-qtgui/lib/number_sink_impl.cc @@ -60,16 +60,6 @@ number_sink_impl::number_sink_impl( d_iir[n].set_taps(d_average); } - // Required now for Qt; argc must be greater than 0 and argv - // must have at least one valid character. Must be valid through - // life of the qApplication: - // http://harmattan-dev.nokia.com/docs/library/html/qt4/qapplication.html - d_argc = 1; - d_argv = new char; - d_argv[0] = '\0'; - - d_main_gui = NULL; - // Set alignment properties for VOLK const int alignment_multiple = volk_get_alignment() / d_itemsize; set_alignment(std::max(1, alignment_multiple)); |