mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-12 01:07:52 -06:00
Qt5->Qt6: More renamed stuff.
part of CURA-8591
This commit is contained in:
parent
97da0b9183
commit
20b435af76
19 changed files with 42 additions and 42 deletions
|
@ -152,7 +152,7 @@ class SendMaterialJob(Job):
|
|||
def _sendingFinished(self, reply: QNetworkReply) -> None:
|
||||
"""Check a reply from an upload to the printer and log an error when the call failed"""
|
||||
|
||||
if reply.attribute(QNetworkRequest.HttpStatusCodeAttribute) != 200:
|
||||
if reply.attribute(QNetworkRequest.Attribute.HttpStatusCodeAttribute) != 200:
|
||||
Logger.log("w", "Error while syncing material: %s", reply.errorString())
|
||||
return
|
||||
body = reply.readAll().data().decode('utf8')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue