From 18f6f2ee9a09daabd4cfb2a6f6571d9bd9913528 Mon Sep 17 00:00:00 2001 From: end-4 <97237370+end-4@users.noreply.github.com> Date: Fri, 16 May 2025 23:52:44 +0200 Subject: [PATCH] replace background empty item with null --- .config/quickshell/modules/cheatsheet/Cheatsheet.qml | 2 +- .config/quickshell/modules/common/widgets/NavRailButton.qml | 2 +- .config/quickshell/modules/common/widgets/StyledToolTip.qml | 2 +- .config/quickshell/modules/overview/SearchWidget.qml | 2 +- .config/quickshell/modules/sidebarLeft/AiChat.qml | 2 +- .config/quickshell/modules/sidebarLeft/Anime.qml | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.config/quickshell/modules/cheatsheet/Cheatsheet.qml b/.config/quickshell/modules/cheatsheet/Cheatsheet.qml index 154bd709..3cba244e 100644 --- a/.config/quickshell/modules/cheatsheet/Cheatsheet.qml +++ b/.config/quickshell/modules/cheatsheet/Cheatsheet.qml @@ -111,7 +111,7 @@ Scope { // Scope cheatsheetRoot.hide() } - background: Item {} + background: null contentItem: Rectangle { anchors.fill: parent radius: Appearance.rounding.full diff --git a/.config/quickshell/modules/common/widgets/NavRailButton.qml b/.config/quickshell/modules/common/widgets/NavRailButton.qml index 13bf2f94..0c2ffbfd 100644 --- a/.config/quickshell/modules/common/widgets/NavRailButton.qml +++ b/.config/quickshell/modules/common/widgets/NavRailButton.qml @@ -16,7 +16,7 @@ Button { implicitHeight: columnLayout.implicitHeight implicitWidth: columnLayout.implicitWidth - background: Item {} + background: null PointingHandInteraction {} // Real stuff diff --git a/.config/quickshell/modules/common/widgets/StyledToolTip.qml b/.config/quickshell/modules/common/widgets/StyledToolTip.qml index 83812935..627dfb96 100644 --- a/.config/quickshell/modules/common/widgets/StyledToolTip.qml +++ b/.config/quickshell/modules/common/widgets/StyledToolTip.qml @@ -26,7 +26,7 @@ ToolTip { } } - background: Item {} + background: null contentItem: Item { id: contentItemBackground diff --git a/.config/quickshell/modules/overview/SearchWidget.qml b/.config/quickshell/modules/overview/SearchWidget.qml index 3be7b915..c861b454 100644 --- a/.config/quickshell/modules/overview/SearchWidget.qml +++ b/.config/quickshell/modules/overview/SearchWidget.qml @@ -227,7 +227,7 @@ Item { // Wrapper } } - background: Item {} + background: null cursorDelegate: Rectangle { width: 1 diff --git a/.config/quickshell/modules/sidebarLeft/AiChat.qml b/.config/quickshell/modules/sidebarLeft/AiChat.qml index dba4fefa..f8472cb7 100644 --- a/.config/quickshell/modules/sidebarLeft/AiChat.qml +++ b/.config/quickshell/modules/sidebarLeft/AiChat.qml @@ -383,7 +383,7 @@ int main(int argc, char* argv[]) { placeholderText: StringUtils.format(qsTr('Message the model... "{0}" for commands'), root.commandPrefix) placeholderTextColor: Appearance.m3colors.m3outline - background: Item {} + background: null onTextChanged: { // Handle suggestions if(messageInputField.text.length === 0) { diff --git a/.config/quickshell/modules/sidebarLeft/Anime.qml b/.config/quickshell/modules/sidebarLeft/Anime.qml index 29b571b4..5188ff3c 100644 --- a/.config/quickshell/modules/sidebarLeft/Anime.qml +++ b/.config/quickshell/modules/sidebarLeft/Anime.qml @@ -419,7 +419,7 @@ Item { placeholderText: StringUtils.format(qsTr('Enter tags, or "{0}" for commands'), root.commandPrefix) placeholderTextColor: Appearance.m3colors.m3outline - background: Item {} + background: null property Timer searchTimer: Timer { // Timer for tag suggestions interval: root.tagSuggestionDelay