Remove pyqtSlot annotations for new types

This commit is contained in:
Florian Bruhin 2018-06-11 17:40:25 +02:00
parent 54011782c8
commit e5fbb9f68a

View File

@ -741,7 +741,6 @@ class _WebEnginePermissions(QObject):
# aborted after a loadStarted signal.
pass
@pyqtSlot('QWebEngineQuotaRequest')
def _on_quota_requested(self, request):
size = utils.format_size(request.requestedSize())
shared.feature_permission(
@ -752,7 +751,6 @@ class _WebEnginePermissions(QObject):
abort_on=[self._abort_questions],
blocking=True)
@pyqtSlot('QWebEngineRegisterProtocolHandlerRequest')
def _on_register_protocol_handler_requested(self, request):
shared.feature_permission(
url=request.origin(),