forked from pool/gnuradio
40 lines
1.0 KiB
Diff
40 lines
1.0 KiB
Diff
From af4ab4e0f745ef3d61effc71824b09d0c15d8b86 Mon Sep 17 00:00:00 2001
|
|
From: "A. Maitland Bottoms" <bottoms@debian.org>
|
|
Date: Mon, 26 Feb 2018 21:36:29 -0500
|
|
Subject: [PATCH] gr qtgui util
|
|
|
|
---
|
|
gr-qtgui/python/qtgui/util.py | 5 ++---
|
|
1 file changed, 2 insertions(+), 3 deletions(-)
|
|
|
|
diff --git a/gr-qtgui/python/qtgui/util.py b/gr-qtgui/python/qtgui/util.py
|
|
index fffc482615..ca9f6f5035 100644
|
|
--- a/gr-qtgui/python/qtgui/util.py
|
|
+++ b/gr-qtgui/python/qtgui/util.py
|
|
@@ -1,7 +1,7 @@
|
|
#!/usr/bin/env python
|
|
# -*- coding: utf-8 -*-
|
|
#
|
|
-# Copyright 2016 Free Software Foundation, Inc.
|
|
+# Copyright 2016,2018 Free Software Foundation, Inc.
|
|
#
|
|
# This file is part of GNU Radio
|
|
#
|
|
@@ -21,7 +21,7 @@
|
|
# Boston, MA 02110-1301, USA.
|
|
#
|
|
|
|
-from PyQt4 import Qt, QtCore, QtGui
|
|
+from PyQt5 import Qt, QtCore, QtGui, QtWidgets
|
|
from gnuradio import gr
|
|
|
|
def check_set_qss():
|
|
@@ -32,4 +32,3 @@ def check_set_qss():
|
|
app.setStyleSheet(open(qssfile).read())
|
|
except:
|
|
print "WARNING: bad QSS file, %s"%(qssfile)
|
|
-
|
|
--
|
|
2.11.0
|
|
|