aboutsummaryrefslogtreecommitdiffstats
path: root/tests/QtGui/bug_433.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/QtGui/bug_433.py')
-rw-r--r--tests/QtGui/bug_433.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/QtGui/bug_433.py b/tests/QtGui/bug_433.py
new file mode 100644
index 000000000..97d897e81
--- /dev/null
+++ b/tests/QtGui/bug_433.py
@@ -0,0 +1,14 @@
+from PySide import QtCore, QtGui
+import sys
+
+class Test(QtGui.QGraphicsView):
+ def __init__(self, parent=None):
+ super(Test, self).__init__(parent)
+ self.s = QtGui.QGraphicsScene()
+ self.setScene(self.s)
+
+a = QtGui.QApplication(sys.argv)
+t = Test()
+t.show()
+QtCore.QTimer.singleShot(0, t.close)
+sys.exit(a.exec_())