mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-11-29 13:51:12 -07:00
Revert "Add some kaizen changes from #5328"
This reverts commit 09fe06b8bf.
This commit is contained in:
parent
09fe06b8bf
commit
cb8804b86a
2 changed files with 6 additions and 6 deletions
|
|
@ -159,13 +159,9 @@ class CloudApiClient:
|
|||
model: Type[CloudApiClientModel],
|
||||
) -> None:
|
||||
def parse() -> None:
|
||||
# Don't try to parse the reply if we didn't get one
|
||||
if reply.attribute(QNetworkRequest.HttpStatusCodeAttribute) is None:
|
||||
return
|
||||
status_code, response = self._parseReply(reply)
|
||||
self._anti_gc_callbacks.remove(parse)
|
||||
self._parseModels(response, on_finished, model)
|
||||
return
|
||||
return self._parseModels(response, on_finished, model)
|
||||
|
||||
self._anti_gc_callbacks.append(parse)
|
||||
reply.finished.connect(parse)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue