Browse Source

Fix loading popup image on windows

ChrisTerBeke 5 years ago
parent
commit
5dfb8216df
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/UM3NetworkPrinting/src/Messages/CloudFlowMessage.py

+ 1 - 1
plugins/UM3NetworkPrinting/src/Messages/CloudFlowMessage.py

@@ -28,7 +28,7 @@ class CloudFlowMessage(Message):
             lifetime=0,
             dismissable=True,
             option_state=False,
-            image_source=image_path,
+            image_source=QUrl.fromLocalFile(image_path),
             image_caption=I18N_CATALOG.i18nc("@info:status Ultimaker Cloud should not be translated.",
                                              "Connect to Ultimaker Cloud"),
         )