BUG: Use QApplication.instance() instead of qApp because there are some instances under (a possibly buggy) PySide where qApp is None. Guard a PyQt4-specific workaround.
BUG: Use QApplication.instance() instead of qApp because there are some instances under (a possibly buggy) PySide where qApp is None. Guard a PyQt4-specific workaround.

geggo/pyface,geggo/pyface,pankajp/pyface,brett-patterson/pyface