From d858f1402b4fb4e302d0b488eec0e4628b62296d Mon Sep 17 00:00:00 2001
From: Tom Rondeau <trondeau@vt.edu>
Date: Sun, 24 Feb 2013 19:44:25 -0500
Subject: blocks: removing throttle, threshold, stretch from gnuradio-core.

---
 gr-qtgui/apps/qt_digital.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'gr-qtgui/apps/qt_digital.py')

diff --git a/gr-qtgui/apps/qt_digital.py b/gr-qtgui/apps/qt_digital.py
index d353e0041c..2e8cf2fd66 100755
--- a/gr-qtgui/apps/qt_digital.py
+++ b/gr-qtgui/apps/qt_digital.py
@@ -21,6 +21,7 @@
 # 
 
 from gnuradio import gr, digital
+from gnuradio import blocks
 from gnuradio import eng_notation
 import sys
 
@@ -215,7 +216,7 @@ class my_top_block(gr.top_block):
         self.to = 1.0
         self.channel = gr.channel_model(noise, self.fo, self.to)
 
-        self.thr = gr.throttle(gr.sizeof_char, self._sample_rate)
+        self.thr = blocks.throttle(gr.sizeof_char, self._sample_rate)
         self.snk_tx = qtgui.sink_c(fftsize, gr.firdes.WIN_BLACKMAN_hARRIS, 
                                    0, self._sample_rate*self.sps,
                                    "Tx", True, True, True, True)
-- 
cgit v1.2.3