PySide/tests/QtCore/bug_656.py
Hugo Parente Lima 43a8f4089e Fix bug 656 - "cannot inherit from QCoreApplication"
Reviewer: Renato Araújo <renato.filho@openbossa.org>
          Luciano Wolf <luciano.wolf@openbossa.org>
2011-01-31 16:22:28 -02:00

9 lines
225 B
Python

from PySide.QtCore import *
class CoreApp(QCoreApplication):
def __init__(self,*args):
super(CoreApp,self).__init__(*args)
# It shouldn't crash after the __init__ call
import sys
app = CoreApp(sys.argv)