From c974bf0b0422df667212a8435df4b6bcb2fd39af Mon Sep 17 00:00:00 2001 From: Fushan Wen Date: Fri, 29 Sep 2023 18:19:14 +0800 Subject: [PATCH] plugins/desktopchangeosd: make Loader become the root item This saves another quick item. --- src/plugins/desktopchangeosd/package/contents/ui/main.qml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/plugins/desktopchangeosd/package/contents/ui/main.qml b/src/plugins/desktopchangeosd/package/contents/ui/main.qml index 9d9911bbca..0a31c7ab59 100644 --- a/src/plugins/desktopchangeosd/package/contents/ui/main.qml +++ b/src/plugins/desktopchangeosd/package/contents/ui/main.qml @@ -9,12 +9,8 @@ import QtQuick import org.kde.kwin -Item { - id: root - - Loader { - id: mainItemLoader - } +Loader { + id: mainItemLoader Connections { target: Workspace