Merge branch 'master' of ssh://tonks/qutebrowser
This commit is contained in:
commit
b5d3b264e8
@ -20,10 +20,12 @@
|
|||||||
"""The qutebrowser test suite."""
|
"""The qutebrowser test suite."""
|
||||||
|
|
||||||
import atexit
|
import atexit
|
||||||
|
import functools
|
||||||
|
|
||||||
|
import sip
|
||||||
from PyQt5.QtWidgets import QApplication
|
from PyQt5.QtWidgets import QApplication
|
||||||
|
|
||||||
# We create a singleton QApplication here.
|
# We create a singleton QApplication here.
|
||||||
|
|
||||||
qApp = QApplication([])
|
qApp = QApplication([])
|
||||||
atexit.register(qApp.quit)
|
atexit.register(functools.partial(sip.delete, qApp))
|
||||||
|
Loading…
Reference in New Issue
Block a user