diff -r b149def67c6e -r 2a19edf4db14 WebBrowser/UrlBar/UrlBar.py --- a/WebBrowser/UrlBar/UrlBar.py Sun Feb 28 18:49:07 2016 +0100 +++ b/WebBrowser/UrlBar/UrlBar.py Sun Feb 28 18:49:24 2016 +0100 @@ -314,13 +314,13 @@ p.setBrush(QPalette.Text, foregroundColor) else: if self.__browser.url().scheme() == "https": - if QSslCertificate is not None: - if self.__browser.page().hasValidSslInfo(): - backgroundColor = Preferences.getWebBrowser( - "SaveUrlColor") - else: - backgroundColor = Preferences.getWebBrowser( - "SaveUrlColor") +## if QSslCertificate is not None: +## if self.__browser.page().hasValidSslInfo(): +## backgroundColor = Preferences.getWebBrowser( +## "SaveUrlColor") +## else: + backgroundColor = Preferences.getWebBrowser( + "SaveUrlColor") highlight = QApplication.palette().color(QPalette.Highlight) r = (highlight.red() + 2 * backgroundColor.red()) // 3 g = (highlight.green() + 2 * backgroundColor.green()) // 3