Unify QApplication.instance() checks
Open
Good First Issue
type: enhancement
- Dominant language
- Python
- Stars
- 115
- Forks
- 54
- PR merge metrics
- No merged PRs in 30d
Description
There are a number of places where we do something like the following:
```
app = QApplication.instance()
if app is None:
app = QApplication(*args, **kwargs)
```
We should refactor so that all such calls go through `get_app_qt4` (https://github.com/enthought/pyface/blob/master/pyface/util/guisupport.py#L111) or something similar.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.