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:
authorJaime van Kessel <nallath@gmail.com>2022-06-17 16:26:30 +0300
committerJaime van Kessel <nallath@gmail.com>2022-06-17 16:26:30 +0300
commitb25e760c53bd8375339406055cc5c661ce5a954e (patch)
treefc05468caf0af5a553e9b8d69d545ce154cff374 /resources/qml
parentd05417f7f032180c69a41c040ffce755c0acef5c (diff)
Remove incorrect enum usage
This only needs to happen in code that uses PyQt, not in qml code
Diffstat (limited to 'resources/qml')
-rw-r--r--resources/qml/Preferences/Materials/MaterialsSyncDialog.qml4
-rw-r--r--resources/qml/WelcomePages/WhatsNewContent.qml2
2 files changed, 3 insertions, 3 deletions
diff --git a/resources/qml/Preferences/Materials/MaterialsSyncDialog.qml b/resources/qml/Preferences/Materials/MaterialsSyncDialog.qml
index 08ea2efd5b..eb8b46dbad 100644
--- a/resources/qml/Preferences/Materials/MaterialsSyncDialog.qml
+++ b/resources/qml/Preferences/Materials/MaterialsSyncDialog.qml
@@ -402,7 +402,7 @@ Window
UM.Label
{
Layout.fillWidth: true
- Layout.alignment: Qt.AlignmentFlag.AlignVCenter
+ Layout.alignment: Qt.AlignVCenter
text: catalog.i18nc("@text Asking the user whether printers are missing in a list.", "Printers missing?")
+ "\n"
+ catalog.i18nc("@text", "Make sure all your printers are turned ON and connected to Digital Factory.")
@@ -413,7 +413,7 @@ Window
Cura.SecondaryButton
{
id: refreshListButton
- Layout.alignment: Qt.AlignmentFlag.AlignVCenter
+ Layout.alignment: Qt.AlignVCenter
text: catalog.i18nc("@button", "Refresh List")
iconSource: UM.Theme.getIcon("ArrowDoubleCircleRight")
onClicked: Cura.API.account.sync(true)
diff --git a/resources/qml/WelcomePages/WhatsNewContent.qml b/resources/qml/WelcomePages/WhatsNewContent.qml
index bbae9380a2..6406d65756 100644
--- a/resources/qml/WelcomePages/WhatsNewContent.qml
+++ b/resources/qml/WelcomePages/WhatsNewContent.qml
@@ -65,7 +65,7 @@ Item
Rectangle
{
- Layout.alignment: Qt.AlignmentFlag.AlignHCenter
+ Layout.alignment: Qt.AlignHCenter
color: UM.Theme.getColor("viewport_overlay")
width: whatsNewViewport.width
height: whatsNewViewport.height