[Pkg-bitcoin-commits] [python-quamash] 106/269: Fixed for PyQt5
Jonas Smedegaard
dr at jones.dk
Fri Nov 24 11:26:21 UTC 2017
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository python-quamash.
commit 6bbc993c752c5ec9244c1b64bdfec8a9c9d20520
Author: Mark Harviston <mark.harviston at gmail.com>
Date: Mon Jul 21 07:31:48 2014 -0700
Fixed for PyQt5
Qt4 doesn't have a QtWidgets, but Qt5 does have a QtGui.
---
quamash/__init__.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/quamash/__init__.py b/quamash/__init__.py
index f88f9f0..6dcccf5 100644
--- a/quamash/__init__.py
+++ b/quamash/__init__.py
@@ -29,9 +29,9 @@ else:
QtCore = __import__(QtModuleName + '.QtCore', fromlist=(QtModuleName,))
try:
- QtGui = __import__(QtModuleName + '.QtGui', fromlist=(QtModuleName,))
-except ImportError:
QtGui = __import__(QtModuleName + '.QtWidgets', fromlist=(QtModuleName,))
+except ImportError:
+ QtGui = __import__(QtModuleName + '.QtGui', fromlist=(QtModuleName,))
if not hasattr(QtCore, 'Signal'):
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-bitcoin/python-quamash.git
More information about the Pkg-bitcoin-commits
mailing list