Call QApplication.processEvents on exit.

This commit is contained in:
Florian Bruhin 2015-03-04 20:26:19 +01:00
parent e431f09fab
commit be6ea2f0e8

View File

@ -19,9 +19,13 @@
"""The qutebrowser test suite."""
import atexit
from PyQt5.QtWidgets import QApplication
# We create a singleton QApplication here.
qApp = QApplication([])
qApp.setApplicationName('qutebrowser')
qApp.processEvents()
atexit.register(qApp.processEvents)