Remove @pyqtSlot for on_download_requested

For some reason, this breaks when test_pac is run...
This commit is contained in:
Florian Bruhin 2018-03-19 20:17:15 +01:00
parent 1162e640c5
commit 9031b3e535

View File

@ -239,7 +239,6 @@ class BrowserPage(QWebPage):
printdiag.setAttribute(Qt.WA_DeleteOnClose)
printdiag.open(lambda: frame.print(printdiag.printer()))
@pyqtSlot('QNetworkRequest')
def on_download_requested(self, request):
"""Called when the user wants to download a link.