Initialize qt logging to qutebrowser as early as possible
This commit is contained in:
parent
63e466f019
commit
ef01566621
@ -309,13 +309,14 @@ def earlyinit(args):
|
||||
# Here we check if QtCore is available, and if not, print a message to the
|
||||
# console or via Tk.
|
||||
check_pyqt_core()
|
||||
# Init logging as early as possible
|
||||
init_log(args)
|
||||
# Now the faulthandler is enabled we fix the Qt harfbuzzing library, before
|
||||
# importing QtWidgets.
|
||||
fix_harfbuzz(args)
|
||||
# Now we can be sure QtCore is available, so we can print dialogs on
|
||||
# errors, so people only using the GUI notice them as well.
|
||||
check_qt_version()
|
||||
check_ssl_support()
|
||||
remove_inputhook()
|
||||
check_libraries(args)
|
||||
init_log(args)
|
||||
check_ssl_support()
|
||||
|
Loading…
Reference in New Issue
Block a user