Browse Source

Move palette to syncstate

It should be there, since that is the only place it's being used

CURA-7418
Jaime van Kessel 4 years ago
parent
commit
f4c5a134c2
2 changed files with 5 additions and 5 deletions
  1. 5 0
      resources/qml/Account/SyncState.qml
  2. 0 5
      resources/qml/Account/UserOperations.qml

+ 5 - 0
resources/qml/Account/SyncState.qml

@@ -13,6 +13,11 @@ Row // sync state icon + message
     anchors.horizontalCenter: parent.horizontalCenter
     spacing: UM.Theme.getSize("narrow_margin").height
 
+    SystemPalette
+    {
+        id: palette
+    }
+
     UM.RecolorImage
     {
         id: icon

+ 0 - 5
resources/qml/Account/UserOperations.qml

@@ -11,11 +11,6 @@ Column
 {
     spacing: UM.Theme.getSize("default_margin").height
 
-    SystemPalette
-    {
-        id: palette
-    }
-
     Label
     {
         id: title