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 {