diff --git a/qutebrowser/browser/webview.py b/qutebrowser/browser/webview.py index fea278211..25f50d1e0 100644 --- a/qutebrowser/browser/webview.py +++ b/qutebrowser/browser/webview.py @@ -423,7 +423,7 @@ class WebView(QWebView): """ ok = not self.page().error_occurred if ok and not self._has_ssl_errors: - if self.cur_url.toDisplayString().startswith('https'): + if self.cur_url.scheme() == 'https': self._set_load_status(LoadStatus.success_https) else: self._set_load_status(LoadStatus.success) diff --git a/qutebrowser/config/configdata.py b/qutebrowser/config/configdata.py index 1d7de5b18..a13363a08 100644 --- a/qutebrowser/config/configdata.py +++ b/qutebrowser/config/configdata.py @@ -872,17 +872,13 @@ def data(readonly=False): SettingValue(typ.QssColor(), '#ff4444'), "Foreground color of the matched text in the completion."), - ('statusbar.fg.https', - SettingValue(typ.QssColor(), 'white'), - "Foreground color of the statusbar(https)."), - ('statusbar.fg', SettingValue(typ.QssColor(), 'white'), "Foreground color of the statusbar(http)."), ('statusbar.bg', SettingValue(typ.QssColor(), 'black'), - "Background color of the statusbar(http)."), + "Background color of the statusbar."), ('statusbar.fg.error', SettingValue(typ.QssColor(), '${statusbar.fg}'),