Init log before creating QApplication
This commit is contained in:
parent
512338d567
commit
104564f6be
@ -128,7 +128,6 @@ class Application(QApplication):
|
|||||||
sys.excepthook = self._exception_hook
|
sys.excepthook = self._exception_hook
|
||||||
|
|
||||||
self._args = args
|
self._args = args
|
||||||
log.init_log(self._args)
|
|
||||||
self._init_misc()
|
self._init_misc()
|
||||||
actute_warning()
|
actute_warning()
|
||||||
self._init_config()
|
self._init_config()
|
||||||
@ -662,5 +661,6 @@ def crash(typ='exception'):
|
|||||||
def main():
|
def main():
|
||||||
"""Main entry point for qutebrowser."""
|
"""Main entry point for qutebrowser."""
|
||||||
args = _parse_args()
|
args = _parse_args()
|
||||||
|
log.init_log(args)
|
||||||
app = Application(args)
|
app = Application(args)
|
||||||
return app.exec_()
|
return app.exec_()
|
||||||
|
Loading…
Reference in New Issue
Block a user