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: {
|
onClicked: {
|
||||||
if ( mouse.button === Qt.LeftButton ) {
|
if ( mouse.button === Qt.LeftButton ) {
|
||||||
root.item.activate();
|
root.item.activate();
|
||||||
|
|||||||
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user