Fix warning: The current style does not support customization of this control (proper...
authorCamila Ayres <hello@camilasan.com>
Wed, 28 Aug 2024 20:25:51 +0000 (22:25 +0200)
committerMatthieu Gallien <matthieu.gallien@nextcloud.com>
Fri, 6 Sep 2024 08:55:42 +0000 (10:55 +0200)
Signed-off-by: Camila Ayres <hello@camilasan.com>
src/gui/tray/ActivityItem.qml
src/gui/tray/CustomButton.qml
src/gui/tray/TrayFoldersMenuButton.qml
src/gui/tray/UserLine.qml

index e37518d50a67cf7515605e491548103f4ff4e67c..c84b44cceda81c0b44727ad553340180a7266447 100644 (file)
@@ -29,6 +29,7 @@ ItemDelegate {
         text: qsTr("In %1").arg(model.displayLocation)
     }
 
+    // TODO: the current style does not support customization of this control
     contentItem: ColumnLayout {
         spacing: Style.smallSpacing
 
index ba0d70ed4327f22bb7b075497f18edc63b2135d6..81c59e3484e46a8adc60741a9fd3193dba11bbfc 100644 (file)
@@ -36,6 +36,7 @@ Button {
         visible: root.toolTipText !== "" && root.hovered
     }
 
+    // TODO: the current style does not support customization of this control
     contentItem: NCButtonContents {
         id: contents
         display: root.display
index bad8135e604e8b2c6161ba5ce5664ad99cdbde58..ba982fbe8357f827133da8d614e9c21f03e68cd9 100644 (file)
@@ -57,7 +57,8 @@ HeaderButton {
         text: root.userHasGroupFolders ? qsTr("Open local or group folders") : qsTr("Open local folder")
     }
 
-    contentItem: Item {
+
+    Item {
         id: rootContent
 
         anchors.fill: parent
index f1ecc779c611a39c86e6ad5871376e7671156333..ead5ef7ac87b3c2e7767d11e03988af80b992797 100644 (file)
@@ -147,7 +147,7 @@ AbstractButton {
 \r
             onClicked: userMoreButtonMenu.visible ? userMoreButtonMenu.close() : userMoreButtonMenu.popup()\r
 \r
-            contentItem: Image {\r
+            Image {\r
                 anchors.fill: parent\r
                 source: "image://svgimage-custom-color/more.svg" + "/" + palette.buttonText\r
                 fillMode: Image.PreserveAspectFit\r