Use QtCoreApplication as well as QtApplication #4

Merged
merged 1 commit into from Jun 5, 2011

2 participants

@anjiro

Changed test for existing QtCoreApplication to workaround apparent bug when a QtCoreApplication has been created rather than a QtApplication.

Previously:
```from PySide.QtCore import *
from qtreactor import qt4reactor
app = QCoreApplication([])
qt4reactor.install()

would result in ```RuntimeError: A QCoreApplication instance already exists.```
Daniel Ashbrook Changed test for existing QtCoreApplication to workaround apparent bu…
…g when a QtCoreApplication has been created rather than a QtApplication
c0fb3ad
@ghtdak
Owner
@anjiro anjiro merged commit 057ce1f into ghtdak:master Jun 5, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment