revert traymenu changes

This commit is contained in:
Zacharias-Brohn
2025-11-21 10:09:34 +01:00
parent 4c1b89b612
commit 71e1b6aa08
2 changed files with 1 additions and 13 deletions
-9
View File
@@ -63,15 +63,6 @@ MouseArea {
} }
} }
Connections {
target: trayMenu
function onFinishedLoading() {
if ( !root.hasLoaded )
trayMenu.visible = false;
root.hasLoaded = true;
}
}
onClicked: { onClicked: {
if ( mouse.button === Qt.LeftButton ) { if ( mouse.button === Qt.LeftButton ) {
root.item.activate(); root.item.activate();
+1 -4
View File
@@ -33,7 +33,7 @@ PanelWindow {
// listLayout.forceLayout(); // listLayout.forceLayout();
// } // }
visible: true visible: false
color: "transparent" color: "transparent"
anchors { anchors {
top: true top: true
@@ -246,9 +246,6 @@ PanelWindow {
if ( currentWidth > biggestWidth ) { if ( currentWidth > biggestWidth ) {
root.biggestWidth = currentWidth; root.biggestWidth = currentWidth;
} }
if ( menuItem.index === menuOpener.children.values.length - 1 )
root.finishedLoading();
} }
TextMetrics { TextMetrics {