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:
Diffstat (limited to 'cura/UI/WelcomePagesModel.py')
-rw-r--r--cura/UI/WelcomePagesModel.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/cura/UI/WelcomePagesModel.py b/cura/UI/WelcomePagesModel.py
index 41e45bacd9..890e34a31e 100644
--- a/cura/UI/WelcomePagesModel.py
+++ b/cura/UI/WelcomePagesModel.py
@@ -213,7 +213,8 @@ class WelcomePagesModel(ListModel):
break
return page_idx
- def _getBuiltinWelcomePagePath(self, page_filename: str) -> "QUrl":
+ @staticmethod
+ def _getBuiltinWelcomePagePath(page_filename: str) -> QUrl:
"""Convenience function to get QUrl path to pages that's located in "resources/qml/WelcomePages"."""
from cura.CuraApplication import CuraApplication
return QUrl.fromLocalFile(Resources.getPath(CuraApplication.ResourceTypes.QmlFiles,