summaryrefslogtreecommitdiffstats
path: root/extra/pyqt/fix-kdebindings-4.5.2.patch
blob: 49a915f0956d28b4812b7c9c6ee7455576abe3c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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.