diff -r 866adc8c315b -r 0acf98cd089a eric6/E5Network/E5SslInfoWidget.py --- a/eric6/E5Network/E5SslInfoWidget.py Sun Jan 17 13:53:08 2021 +0100 +++ b/eric6/E5Network/E5SslInfoWidget.py Mon Feb 01 10:38:16 2021 +0100 @@ -155,14 +155,10 @@ sslVersion = "TLS 1.2" imageLabel.setPixmap( UI.PixmapCache.getPixmap("securityHigh32")) - try: - # Qt 5.12 and newer - if proto == QSsl.TlsV1_3: - sslVersion = "TLS 1.3" - imageLabel.setPixmap( - UI.PixmapCache.getPixmap("securityHigh32")) - except AttributeError: - pass + elif proto == QSsl.TlsV1_3: + sslVersion = "TLS 1.3" + imageLabel.setPixmap( + UI.PixmapCache.getPixmap("securityHigh32")) rows += 1 label = QLabel(self)