summarylogtreecommitdiffstats
path: root/qplt.py-r1.21.patch
diff options
context:
space:
mode:
Diffstat (limited to 'qplt.py-r1.21.patch')
-rw-r--r--qplt.py-r1.21.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/qplt.py-r1.21.patch b/qplt.py-r1.21.patch
new file mode 100644
index 00000000000..3d24b45dbc8
--- /dev/null
+++ b/qplt.py-r1.21.patch
@@ -0,0 +1,12 @@
+diff -ur PyQwt-5.2.0.orig/qt4lib/PyQt4/Qwt5/qplt.py PyQwt-5.2.0/qt4lib/PyQt4/Qwt5/qplt.py
+--- PyQwt-5.2.0.orig/qt4lib/PyQt4/Qwt5/qplt.py 2014-01-31 15:56:00.000000000 +0100
++++ PyQwt-5.2.0/qt4lib/PyQt4/Qwt5/qplt.py 2014-01-31 15:57:03.000000000 +0100
+@@ -204,7 +204,7 @@
+ self.setTitle(text)
+ elif isinstance(item, int):
+ self.setZoomerMouseEventSet(item)
+- elif (isinstance(item, tuple) and len(tuple) == 2
++ elif (isinstance(item, tuple) and len(item) == 2
+ and isinstance(item[0], int) and isinstance(item[1], int)):
+ self.size = item
+ elif isinstance(item, QWidget): # accept a parent silently