diff options
Diffstat (limited to 'gr-qtgui/lib/time_sink_f_impl.h')
-rw-r--r-- | gr-qtgui/lib/time_sink_f_impl.h | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/gr-qtgui/lib/time_sink_f_impl.h b/gr-qtgui/lib/time_sink_f_impl.h index d011b2681e..cedef648f0 100644 --- a/gr-qtgui/lib/time_sink_f_impl.h +++ b/gr-qtgui/lib/time_sink_f_impl.h @@ -31,14 +31,19 @@ private: const pmt::pmt_t d_tag_key; int d_index, d_start, d_end; - std::vector<float*> d_fbuffers; - std::vector<double*> d_buffers; + std::vector<volk::vector<float>> d_fbuffers; + std::vector<volk::vector<double>> d_buffers; std::vector<std::vector<gr::tag_t>> d_tags; - int d_argc; - char* d_argv; + // 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 + char d_zero = 0; + int d_argc = 1; + char* d_argv = &d_zero; QWidget* d_parent; - TimeDisplayForm* d_main_gui; + TimeDisplayForm* d_main_gui = nullptr; gr::high_res_timer_type d_update_time; gr::high_res_timer_type d_last_time; |