Browse Source

Remove "Add cloud printer" button in onboarding-add printer flow

From figma design

contributes to CURA-8689
c.lamboo 2 years ago
parent
commit
056221cda6
1 changed files with 0 additions and 15 deletions
  1. 0 15
      resources/qml/WelcomePages/AddNetworkPrinterScrollView.qml

+ 0 - 15
resources/qml/WelcomePages/AddNetworkPrinterScrollView.qml

@@ -175,21 +175,6 @@ Item
             onClicked: base.addByIpButtonClicked()
         }
 
-        Cura.SecondaryButton
-        {
-            id: addCloudPrinterButton
-            anchors.left: addPrinterByIpButton.right
-            anchors.leftMargin: UM.Theme.getSize("default_margin").width
-            anchors.verticalCenter: parent.verticalCenter
-            text: catalog.i18nc("@label", "Add cloud printer")
-            height: UM.Theme.getSize("message_action_button").height
-            onClicked: {
-                CuraApplication.getDiscoveredCloudPrintersModel().clear()
-                Cura.API.account.sync(true)
-                base.addCloudPrinterButtonClicked()
-            }
-        }
-
         Item
         {
             id: troubleshootingButton