From d9ae2183e8c2032486797c7ca09e4fc5cc47f481 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Sun, 1 Feb 2015 23:11:30 +0100 Subject: [PATCH] Initialize web history earlier. This is needed when displaying the history in the segfault report dialog. --- qutebrowser/app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qutebrowser/app.py b/qutebrowser/app.py index a21c54800..7cf14480a 100644 --- a/qutebrowser/app.py +++ b/qutebrowser/app.py @@ -175,6 +175,8 @@ class Application(QApplication): log.init.debug("Initializing config...") config.init(self._args) save_manager.init_autosave() + log.init.debug("Initializing web history...") + history.init() log.init.debug("Initializing crashlog...") self._handle_segfault() log.init.debug("Initializing js-bridge...") @@ -197,8 +199,6 @@ class Application(QApplication): log.init.debug("Initializing cache...") diskcache = cache.DiskCache(self) objreg.register('cache', diskcache) - log.init.debug("Initializing web history...") - history.init() log.init.debug("Initializing main window...") win_id = mainwindow.MainWindow.spawn( False if self._args.nowindow else True)