summaryrefslogtreecommitdiffstats
path: root/pyqt/fix-stackedwidget-bug.patch
blob: 70b6118a9b7adf40919e0faf35c4529b1fd2fa02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- PyQt-x11-gpl-4.8.2/pyuic/uic/uiparser.py~	2010-12-27 14:01:31.500057960 -0800
+++ PyQt-x11-gpl-4.8.2/pyuic/uic/uiparser.py	2010-12-27 14:01:44.460058033 -0800
@@ -158,7 +158,7 @@
         # Ignore the parent if it is a container.
         parent = self.stack.topwidget
         if isinstance(parent, (QtGui.QDockWidget, QtGui.QMdiArea,
-                               QtGui.QScrollArea, QtGui.StackedWidget,
+                               QtGui.QScrollArea, QtGui.QStackedWidget,
                                QtGui.QToolBox, QtGui.QTabWidget,
                                QtGui.QWizard)):
             parent = None