From 0561a143af087314f904cdeae617ef5d4e796849 Mon Sep 17 00:00:00 2001 From: Claudio Cambra Date: Mon, 21 Oct 2024 11:15:22 +0800 Subject: [PATCH] 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 --- src/gui/filedetails/NCInputTextField.qml | 5 ----- src/gui/filedetails/ShareeSearchField.qml | 6 ------ 2 files changed, 11 deletions(-) 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: { -- 2.30.2