forked from pool/gnuradio
This commit is contained in:
parent
ad33b38d79
commit
0ca0490976
39
qt5-maint-0023-gr-qtgui-util.patch
Normal file
39
qt5-maint-0023-gr-qtgui-util.patch
Normal file
@ -0,0 +1,39 @@
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user