Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Ultimaker/Cura.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorj.delarago <joeydelarago@gmail.com>2022-04-05 17:01:17 +0300
committerj.delarago <joeydelarago@gmail.com>2022-04-05 17:01:17 +0300
commitaa190024d41ef690a71842e2843130a9604357dd (patch)
tree01ecb12d5cf9821ee6f089ad434f21a1cb07638f /cura/PrinterOutput
parent6d2293db08e724026486380981fec21996259b0a (diff)
Update enum, this fixes connecting to printers
CURA-8640
Diffstat (limited to 'cura/PrinterOutput')
-rw-r--r--cura/PrinterOutput/Models/PrintJobOutputModel.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cura/PrinterOutput/Models/PrintJobOutputModel.py b/cura/PrinterOutput/Models/PrintJobOutputModel.py
index deb7947614..b6a12cb183 100644
--- a/cura/PrinterOutput/Models/PrintJobOutputModel.py
+++ b/cura/PrinterOutput/Models/PrintJobOutputModel.py
@@ -58,7 +58,7 @@ class PrintJobOutputModel(QObject):
# requires a QUrl to function, updates correctly we add an increasing number. This causes to see the QUrl
# as new (instead of relying on cached version and thus forces an update.
temp = "image://print_job_preview/" + str(self._preview_image_id) + "/" + self._key
- return QUrl(temp, QUrl.TolerantMode)
+ return QUrl(temp, QUrl.ParsingMode.TolerantMode)
def getPreviewImage(self) -> Optional[QImage]:
return self._preview_image