summaryrefslogtreecommitdiff
path: root/gr-qtgui/examples/pyqt_freq_c.py
diff options
context:
space:
mode:
Diffstat (limited to 'gr-qtgui/examples/pyqt_freq_c.py')
-rw-r--r--gr-qtgui/examples/pyqt_freq_c.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-qtgui/examples/pyqt_freq_c.py b/gr-qtgui/examples/pyqt_freq_c.py
index c8f806a797..8f3387befb 100644
--- a/gr-qtgui/examples/pyqt_freq_c.py
+++ b/gr-qtgui/examples/pyqt_freq_c.py
@@ -160,7 +160,7 @@ class my_top_block(gr.top_block):
self.ctrl_win.attach_signal2(src2)
# Get the reference pointer to the SpectrumDisplayForm QWidget
- pyQt = self.snk1.pyqwidget()
+ pyQt = self.snk1.qwidget()
# Wrap the pointer as a PyQt SIP object
# This can now be manipulated as a PyQt5.QtWidgets.QWidget