revert traymenu changes
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user