Remove @pyqtSlot annotation which breaks with LibreSSL

Fixes #2213
This commit is contained in:
Florian Bruhin 2017-02-05 19:08:44 +01:00
parent 84a8d395e3
commit 3f332d3871
2 changed files with 3 additions and 1 deletions

View File

@ -49,6 +49,7 @@ Fixed
(TTF)" as font name.
- Crash reports are now re-enabled when using QtWebEngine
- Fixed crashes when closing tabs while hinting
- Fixed starting on newer PyQt/sip versions with LibreSSL
v0.9.1
------

View File

@ -211,7 +211,8 @@ class NetworkManager(QNetworkAccessManager):
request.deleteLater()
self.shutting_down.emit()
@pyqtSlot('QNetworkReply*', 'QList<QSslError>')
# No @pyqtSlot here, see
# https://github.com/qutebrowser/qutebrowser/issues/2213
def on_ssl_errors(self, reply, errors): # pragma: no mccabe
"""Decide if SSL errors should be ignored or not.