From 71e1b6aa08497f0208c3049e570618f87174fc24 Mon Sep 17 00:00:00 2001 From: Zacharias-Brohn Date: Fri, 21 Nov 2025 10:09:34 +0100 Subject: [PATCH] revert traymenu changes --- Modules/TrayItem.qml | 9 --------- Modules/TrayMenu.qml | 5 +---- 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/Modules/TrayItem.qml b/Modules/TrayItem.qml index 145e894..36cc30c 100644 --- a/Modules/TrayItem.qml +++ b/Modules/TrayItem.qml @@ -63,15 +63,6 @@ MouseArea { } } - Connections { - target: trayMenu - function onFinishedLoading() { - if ( !root.hasLoaded ) - trayMenu.visible = false; - root.hasLoaded = true; - } - } - onClicked: { if ( mouse.button === Qt.LeftButton ) { root.item.activate(); diff --git a/Modules/TrayMenu.qml b/Modules/TrayMenu.qml index 15a67bc..4e9abe6 100644 --- a/Modules/TrayMenu.qml +++ b/Modules/TrayMenu.qml @@ -33,7 +33,7 @@ PanelWindow { // listLayout.forceLayout(); // } - visible: true + visible: false color: "transparent" anchors { top: true @@ -246,9 +246,6 @@ PanelWindow { if ( currentWidth > biggestWidth ) { root.biggestWidth = currentWidth; } - - if ( menuItem.index === menuOpener.children.values.length - 1 ) - root.finishedLoading(); } TextMetrics {