Call QApplication.processEvents on exit.
This commit is contained in:
parent
e431f09fab
commit
be6ea2f0e8
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user