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:
authorfieldOfView <aldo@fieldofview.com>2019-06-02 15:50:10 +0300
committerfieldOfView <aldo@fieldofview.com>2019-06-02 15:50:10 +0300
commit6c64486cd61596a254d58b9b4faea808a876b48e (patch)
treeb0d5cfc6f759b87520498c886a67233c178b45ba /cura/CuraView.py
parentf81340c14a96ab911e5d0f283f4f29e6e2875920 (diff)
Fix creating QUrl to EmptyViewMenuComponent.qml
Diffstat (limited to 'cura/CuraView.py')
-rw-r--r--cura/CuraView.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cura/CuraView.py b/cura/CuraView.py
index 45cd7ba61b..b358558dff 100644
--- a/cura/CuraView.py
+++ b/cura/CuraView.py
@@ -18,8 +18,8 @@ class CuraView(View):
def __init__(self, parent = None, use_empty_menu_placeholder: bool = False) -> None:
super().__init__(parent)
- self._empty_menu_placeholder_url = QUrl(Resources.getPath(CuraApplication.ResourceTypes.QmlFiles,
- "EmptyViewMenuComponent.qml"))
+ self._empty_menu_placeholder_url = QUrl.fromLocalFile(Resources.getPath(CuraApplication.ResourceTypes.QmlFiles,
+ "EmptyViewMenuComponent.qml"))
self._use_empty_menu_placeholder = use_empty_menu_placeholder
@pyqtProperty(QUrl, constant = True)