Skip to content
Browse files

Merge pull request #4 from anjiro/master

Use QtCoreApplication as well as QtApplication
  • Loading branch information...
2 parents 385936b + c0fb3ad commit 057ce1f9a7d9dd9228d4d818e5d69ec27fcb6506 @anjiro anjiro committed Jun 4, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 qt4reactor.py
View
2 qt4reactor.py
@@ -135,7 +135,7 @@ def __init__(self):
self._timer.setSingleShot(True)
QObject.connect(self._timer, SIGNAL("timeout()"), self.iterate)
- if QCoreApplication.startingUp():
+ if QCoreApplication.instance() is None:
# Application Object has not been started yet
self.qApp=QCoreApplication([])
self._ownApp=True

0 comments on commit 057ce1f

Please sign in to comment.
Something went wrong with that request. Please try again.