summaryrefslogtreecommitdiff
path: root/gr-qtgui
diff options
context:
space:
mode:
authorEric Blossom2010-08-03 13:36:18 -0700
committerEric Blossom2010-08-03 13:43:42 -0700
commit0a9b999b5cce596f4de05828005f698047e14ce9 (patch)
tree3d77eabfdc798322a13cceb9253da152470bdbd9 /gr-qtgui
parentfa56c39802a82e6e0e730813a57e86e1aea09a24 (diff)
downloadgnuradio-0a9b999b5cce596f4de05828005f698047e14ce9.tar.gz
gnuradio-0a9b999b5cce596f4de05828005f698047e14ce9.tar.bz2
gnuradio-0a9b999b5cce596f4de05828005f698047e14ce9.zip
Modify all block factories to use gnuradio::get_initial_sptr.
Diffstat (limited to 'gr-qtgui')
-rw-r--r--gr-qtgui/src/lib/qtgui_sink_c.cc4
-rw-r--r--gr-qtgui/src/lib/qtgui_sink_f.cc4
2 files changed, 4 insertions, 4 deletions
diff --git a/gr-qtgui/src/lib/qtgui_sink_c.cc b/gr-qtgui/src/lib/qtgui_sink_c.cc
index a148cf501..f77045938 100644
--- a/gr-qtgui/src/lib/qtgui_sink_c.cc
+++ b/gr-qtgui/src/lib/qtgui_sink_c.cc
@@ -1,6 +1,6 @@
/* -*- c++ -*- */
/*
- * Copyright 2008,2009 Free Software Foundation, Inc.
+ * Copyright 2008,2009,2010 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
@@ -40,7 +40,7 @@ qtgui_make_sink_c (int fftsize, int wintype,
bool use_openGL,
QWidget *parent)
{
- return qtgui_sink_c_sptr (new qtgui_sink_c (fftsize, wintype,
+ return gnuradio::get_initial_sptr(new qtgui_sink_c (fftsize, wintype,
fc, bw, name,
plotfreq, plotwaterfall,
plotwaterfall3d, plottime,
diff --git a/gr-qtgui/src/lib/qtgui_sink_f.cc b/gr-qtgui/src/lib/qtgui_sink_f.cc
index 8eb0a0347..976b1761b 100644
--- a/gr-qtgui/src/lib/qtgui_sink_f.cc
+++ b/gr-qtgui/src/lib/qtgui_sink_f.cc
@@ -1,6 +1,6 @@
/* -*- c++ -*- */
/*
- * Copyright 2008,2009 Free Software Foundation, Inc.
+ * Copyright 2008,2009,2010 Free Software Foundation, Inc.
*
* This file is part of GNU Radio
*
@@ -40,7 +40,7 @@ qtgui_make_sink_f (int fftsize, int wintype,
bool use_openGL,
QWidget *parent)
{
- return qtgui_sink_f_sptr (new qtgui_sink_f (fftsize, wintype,
+ return gnuradio::get_initial_sptr(new qtgui_sink_f (fftsize, wintype,
fc, bw, name,
plotfreq, plotwaterfall,
plotwaterfall3d, plottime,