Pass window ID to scheme handlers.
This commit is contained in:
parent
7e209dc285
commit
2cd4642ece
@ -69,7 +69,7 @@ class QuteSchemeHandler(schemehandler.SchemeHandler):
|
|||||||
request, errorstr, QNetworkReply.ContentNotFoundError,
|
request, errorstr, QNetworkReply.ContentNotFoundError,
|
||||||
self.parent())
|
self.parent())
|
||||||
try:
|
try:
|
||||||
data = handler(request)
|
data = handler(self._win_id, request)
|
||||||
except IOError as e:
|
except IOError as e:
|
||||||
return schemehandler.ErrorNetworkReply(
|
return schemehandler.ErrorNetworkReply(
|
||||||
request, str(e), QNetworkReply.ContentNotFoundError,
|
request, str(e), QNetworkReply.ContentNotFoundError,
|
||||||
|
Loading…
Reference in New Issue
Block a user