From d32096495dc2ac944c76cfedba6139e08d205290 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Fri, 28 Nov 2014 17:01:29 +0100 Subject: [PATCH] Apply default zoom correctly. Fixes #287. --- qutebrowser/widgets/webview.py | 1 + 1 file changed, 1 insertion(+) diff --git a/qutebrowser/widgets/webview.py b/qutebrowser/widgets/webview.py index 3290a010b..3307919c1 100644 --- a/qutebrowser/widgets/webview.py +++ b/qutebrowser/widgets/webview.py @@ -121,6 +121,7 @@ class WebView(QWebView): self.page().networkAccessManager().sslErrors.connect( lambda *args: setattr(self, '_has_ssl_errors', True)) self.viewing_source = False + self.setZoomFactor(float(config.get('ui', 'default-zoom')) / 100) def __repr__(self): url = utils.elide(self.url().toDisplayString(), 50)