Fix bugs 430, 426, 429, 394, 433.

These bugs are about QApplication instance being destroyed  before
some QObject.

Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
          Renato Araújo <renato.filho@openbossa.org>
This commit is contained in:
Hugo Parente Lima 2010-10-22 17:28:43 -02:00
commit 77a1654ad5
11 changed files with 112 additions and 39 deletions

10
tests/QtGui/bug_429.py Normal file
View file

@ -0,0 +1,10 @@
from PySide.QtCore import *
from PySide.QtGui import *
import sys
app = QApplication(sys.argv)
scene = QGraphicsScene()
label = QLabel("hello world")
label.show()
QTimer.singleShot(0, label.close)
exit(app.exec_())