summaryrefslogtreecommitdiff
path: root/gr-qtgui/lib/edit_box_msg_impl.cc
diff options
context:
space:
mode:
authorThomas Habets <thomas@habets.se>2021-02-19 17:38:58 +0000
committerMartin Braun <martin@gnuradio.org>2021-02-26 01:17:25 -0800
commit4b7006db76b570e4d916e263301333d2f4d2a2df (patch)
treefb618398b0a1900f2b47749d6a2928570c9ebbf2 /gr-qtgui/lib/edit_box_msg_impl.cc
parent044b4a3b49b67adfe53e0e88f9adf847a25fad61 (diff)
qtgui: Remove manual memory management
Signed-off-by: Thomas Habets <thomas@habets.se>
Diffstat (limited to 'gr-qtgui/lib/edit_box_msg_impl.cc')
-rw-r--r--gr-qtgui/lib/edit_box_msg_impl.cc8
1 files changed, 0 insertions, 8 deletions
diff --git a/gr-qtgui/lib/edit_box_msg_impl.cc b/gr-qtgui/lib/edit_box_msg_impl.cc
index bb1b069857..19e66aceb7 100644
--- a/gr-qtgui/lib/edit_box_msg_impl.cc
+++ b/gr-qtgui/lib/edit_box_msg_impl.cc
@@ -45,14 +45,6 @@ edit_box_msg_impl::edit_box_msg_impl(data_type_t type,
QObject(parent),
d_port(pmt::mp("msg"))
{
- // 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';
-
if (qApp != NULL) {
d_qApplication = qApp;
} else {