Fix bug 656 - "cannot inherit from QCoreApplication"
Reviewer: Renato Araújo <renato.filho@openbossa.org>
Luciano Wolf <luciano.wolf@openbossa.org>
This commit is contained in:
parent
f2c537eeaa
commit
43a8f4089e
3 changed files with 11 additions and 1 deletions
9
tests/QtCore/bug_656.py
Normal file
9
tests/QtCore/bug_656.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue