From: Claudio Cambra Date: Mon, 21 Oct 2024 03:15:22 +0000 (+0800) Subject: Remove background from textfields to fix errors X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~12^2~5^2~46^2~1 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=0561a143af087314f904cdeae617ef5d4e796849;p=nextcloud-desktop.git Remove background from textfields to fix errors Fixes the following errors: ShareeSearchField.qml:53:17: QML QQuickRectangle: The current style does not support customization of this control (property: "background" item: QQuickRectangle(0x600001d42140, parent=0x0, geometry=0,0 0x0)). NCInputTextField.qml:57:17: QML QQuickRectangle: The current style does not support customization of this control (property: "background" item: QQuickRectangle(0x600001d42220, parent=0x0, geometry=0,0 0x0)). Signed-off-by: Claudio Cambra --- diff --git a/src/gui/filedetails/NCInputTextField.qml b/src/gui/filedetails/NCInputTextField.qml index 27c4236aa..6a9b9f170 100644 --- a/src/gui/filedetails/NCInputTextField.qml +++ b/src/gui/filedetails/NCInputTextField.qml @@ -54,10 +54,5 @@ TextField { } verticalAlignment: Qt.AlignVCenter - background: Rectangle { - border.color: palette.dark - radius: Style.trayWindowRadius - color: palette.window - } } diff --git a/src/gui/filedetails/ShareeSearchField.qml b/src/gui/filedetails/ShareeSearchField.qml index 6017eea72..46fa73d9d 100644 --- a/src/gui/filedetails/ShareeSearchField.qml +++ b/src/gui/filedetails/ShareeSearchField.qml @@ -50,12 +50,6 @@ TextField { verticalAlignment: Qt.AlignVCenter implicitHeight: Math.max(Style.talkReplyTextFieldPreferredHeight, contentHeight) - background: Rectangle { - border.color: palette.dark - radius: Style.trayWindowRadius - color: palette.window - } - onActiveFocusChanged: triggerSuggestionsVisibility() onTextChanged: triggerSuggestionsVisibility() Keys.onPressed: {