summaryrefslogtreecommitdiffstats
path: root/extra/pyqt/fix-kdebindings-4.5.2.patch
diff options
context:
space:
mode:
Diffstat (limited to 'extra/pyqt/fix-kdebindings-4.5.2.patch')
-rw-r--r--extra/pyqt/fix-kdebindings-4.5.2.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/extra/pyqt/fix-kdebindings-4.5.2.patch b/extra/pyqt/fix-kdebindings-4.5.2.patch
new file mode 100644
index 000000000..49a915f09
--- /dev/null
+++ b/extra/pyqt/fix-kdebindings-4.5.2.patch
@@ -0,0 +1,17 @@
+--- sip/QtCore/qglobal.sip~ 2010-09-20 15:10:28.000000000 +0200
++++ sip/QtCore/qglobal.sip 2010-09-30 15:00:13.804577344 +0200
+@@ -312,12 +312,12 @@ public:
+ // Qt.Alignment class.
+ QFlags operator|(int f);
+ %MethodCode
+- sipRes = new QFlags(*a0 | (ENUM(a1)));
++ sipRes = new QFlags(*a0 | a1);
+ %End
+
+ QFlags operator^(int f);
+ %MethodCode
+- sipRes = new QFlags(*a0 ^ (ENUM(a1)));
++ sipRes = new QFlags(*a0 ^ a1);
+ %End
+
+ // These are necessary to prevent Python comparing object IDs.