summaryrefslogtreecommitdiff
path: root/gr-qtgui/lib/time_sink_c_impl.h
diff options
context:
space:
mode:
Diffstat (limited to 'gr-qtgui/lib/time_sink_c_impl.h')
-rw-r--r--gr-qtgui/lib/time_sink_c_impl.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/gr-qtgui/lib/time_sink_c_impl.h b/gr-qtgui/lib/time_sink_c_impl.h
index 903734d53f..9e2d4f4e35 100644
--- a/gr-qtgui/lib/time_sink_c_impl.h
+++ b/gr-qtgui/lib/time_sink_c_impl.h
@@ -32,14 +32,19 @@ private:
const pmt::pmt_t d_tag_key;
int d_index, d_start, d_end;
- std::vector<gr_complex*> d_cbuffers;
- std::vector<double*> d_buffers;
+ std::vector<volk::vector<gr_complex>> d_cbuffers;
+ 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;
+ 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;