remove useless slots, logs, Drawer open and close
This commit is contained in:
parent
063851445a
commit
ada3f9a7fa
17 changed files with 3 additions and 132 deletions
|
|
@ -123,10 +123,6 @@ PageType {
|
|||
objectName: "homeSplitTunnelingDrawer"
|
||||
|
||||
parent: root
|
||||
|
||||
onClosed: {
|
||||
console.log(objectName, " was closed...")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -145,12 +141,14 @@ PageType {
|
|||
Component.onCompleted: {
|
||||
drawer.expandedHeight = implicitHeight
|
||||
}
|
||||
|
||||
Connections {
|
||||
objectName: "drawerConnections"
|
||||
|
||||
target: drawer
|
||||
enabled: !GC.isMobile()
|
||||
}
|
||||
|
||||
ColumnLayout {
|
||||
id: collapsed
|
||||
objectName: "collapsedColumnLayout"
|
||||
|
|
@ -253,7 +251,6 @@ PageType {
|
|||
Keys.onReturnPressed: collapsedButtonChevron.clicked()
|
||||
|
||||
onClicked: {
|
||||
console.debug("onClicked collapsedButtonChevron")
|
||||
if (drawer.isCollapsedStateActive()) {
|
||||
drawer.openTriggered()
|
||||
}
|
||||
|
|
@ -414,6 +411,7 @@ PageType {
|
|||
Connections {
|
||||
target: drawer
|
||||
|
||||
// this item shouldn't be focused when drawer is closed
|
||||
function onIsOpenedChanged() {
|
||||
serversMenuContent.isFocusable = drawer.isOpened
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue