summary refs log tree commit diff
path: root/resources
diff options
context:
space:
mode:
authorDeepBlueV7.X <nicolas.werner@hotmail.de>2021-10-16 22:09:36 +0000
committerGitHub <noreply@github.com>2021-10-16 22:09:36 +0000
commit16e234016a1ceacc0a9dc8d23315eac11764aa1f (patch)
treeb22f528749cc75d60fa1d0266b8d69d0f685ed38 /resources
parentMerge pull request #764 from ISSOtm/patch-1 (diff)
parentAdd support for listing devices that do not support encryption, add support f... (diff)
downloadnheko-16e234016a1ceacc0a9dc8d23315eac11764aa1f.tar.xz
Merge pull request #766 from Thulinma/deviceDeletion
Add support for listing devices that do not support encryption, add support for logging out devices.
Diffstat (limited to 'resources')
-rw-r--r--resources/qml/dialogs/UserProfile.qml10
1 files changed, 10 insertions, 0 deletions
diff --git a/resources/qml/dialogs/UserProfile.qml b/resources/qml/dialogs/UserProfile.qml

index c921278e..30052168 100644 --- a/resources/qml/dialogs/UserProfile.qml +++ b/resources/qml/dialogs/UserProfile.qml
@@ -310,6 +310,7 @@ ApplicationWindow { Image { Layout.preferredHeight: 16 Layout.preferredWidth: 16 + visible: verificationStatus != VerificationStatus.NOT_APPLICABLE source: { switch (verificationStatus) { case VerificationStatus.VERIFIED: @@ -337,6 +338,15 @@ ApplicationWindow { } } + ImageButton { + image: ":/icons/icons/ui/power-button-off.png" + hoverEnabled: true + ToolTip.visible: hovered + ToolTip.text: qsTr("Sign out this device.") + onClicked: profile.signOutDevice(deviceId) + visible: profile.isSelf + } + } footer: DialogButtonBox {