mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-23 02:00:20 +07:00
added display of amnesia dns container activity on the main page
This commit is contained in:
@@ -8,11 +8,9 @@ import "../Controls2/TextTypes"
|
||||
Rectangle {
|
||||
id: root
|
||||
|
||||
property var rootWidth: root.width
|
||||
property real rootWidth: root.width
|
||||
property int currentIndex
|
||||
|
||||
property alias mouseArea: transportProtoButtonMouseArea
|
||||
|
||||
implicitWidth: transportProtoButtonGroup.implicitWidth
|
||||
implicitHeight: transportProtoButtonGroup.implicitHeight
|
||||
|
||||
@@ -30,8 +28,6 @@ Rectangle {
|
||||
implicitWidth: (rootWidth - 32) / 2
|
||||
text: "UDP"
|
||||
|
||||
hoverEnabled: !transportProtoButtonMouseArea.enabled
|
||||
|
||||
onClicked: {
|
||||
root.currentIndex = 0
|
||||
}
|
||||
@@ -43,17 +39,9 @@ Rectangle {
|
||||
implicitWidth: (rootWidth - 32) / 2
|
||||
text: "TCP"
|
||||
|
||||
hoverEnabled: !transportProtoButtonMouseArea.enabled
|
||||
|
||||
onClicked: {
|
||||
root.currentIndex = 1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
MouseArea {
|
||||
id: transportProtoButtonMouseArea
|
||||
|
||||
anchors.fill: parent
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user