diff options
author | Tom Rondeau <tom@trondeau.com> | 2015-04-14 19:57:05 -0400 |
---|---|---|
committer | Tom Rondeau <tom@trondeau.com> | 2015-04-14 19:57:05 -0400 |
commit | a6e86acecbffbbbbdac9d2da8de018dd40164992 (patch) | |
tree | 8cb9724abec8235ce4faa691f21f586d744f146a /gr-qtgui/examples/pyqt_time_c.py | |
parent | 5ae1e848f726c9bf93607ddeead146887373c847 (diff) |
qtgui: fixed examples using qss theme.
Look at installation prefix/share/gnuradio/themes for the location of
the dark.qss, which was moved from being in the examples directory.
Diffstat (limited to 'gr-qtgui/examples/pyqt_time_c.py')
-rwxr-xr-x | gr-qtgui/examples/pyqt_time_c.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gr-qtgui/examples/pyqt_time_c.py b/gr-qtgui/examples/pyqt_time_c.py index ae8ebfc257..0162bb6ffc 100755 --- a/gr-qtgui/examples/pyqt_time_c.py +++ b/gr-qtgui/examples/pyqt_time_c.py @@ -151,7 +151,7 @@ class my_top_block(gr.top_block): npts = 2048 self.qapp = QtGui.QApplication(sys.argv) - ss = open('dark.qss') + ss = open(gr.prefix() + '/share/gnuradio/themes/dark.qss') sstext = ss.read() ss.close() self.qapp.setStyleSheet(sstext) @@ -205,4 +205,3 @@ if __name__ == "__main__": tb.start() tb.qapp.exec_() tb.stop() - |