diff options
author | Tom Rondeau <tom@trondeau.com> | 2013-11-09 09:20:55 -0500 |
---|---|---|
committer | Tom Rondeau <tom@trondeau.com> | 2013-11-09 09:20:55 -0500 |
commit | 008dde8f59e8ef132af3ebc0f7b8d43f1e05b717 (patch) | |
tree | 2088a0538423db33358c23bf3c3e2e1430dbb4a7 /gr-qtgui/lib/histogram_sink_f_impl.h | |
parent | 41d636b53cff8c3c563114e045f8e9382d16fd79 (diff) |
qtgui: fixed issue with newer versions of QT.
When creating the qApplication in the block, we have to make sure argc>0, argv contains at least one valid character (\0), and they exist over the life of the application.
Diffstat (limited to 'gr-qtgui/lib/histogram_sink_f_impl.h')
-rw-r--r-- | gr-qtgui/lib/histogram_sink_f_impl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gr-qtgui/lib/histogram_sink_f_impl.h b/gr-qtgui/lib/histogram_sink_f_impl.h index 995b93bef8..fb1b5c6f75 100644 --- a/gr-qtgui/lib/histogram_sink_f_impl.h +++ b/gr-qtgui/lib/histogram_sink_f_impl.h @@ -47,6 +47,8 @@ namespace gr { int d_index; std::vector<double*> d_residbufs; + int d_argc; + char *d_argv; QWidget *d_parent; HistogramDisplayForm *d_main_gui; |