Rename "logout" things to "sign out" + update icon
This commit is contained in:
@@ -12,7 +12,7 @@ HFileDialogOpener {
|
||||
}
|
||||
|
||||
|
||||
// This is used for the LogoutPopup to know when the export is done
|
||||
// This is used for the SignOutPopup to know when the export is done
|
||||
// so it can close
|
||||
signal done()
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ BoxPopup {
|
||||
box.focusButton: "ok"
|
||||
box.buttonModel: [
|
||||
{ name: "ok", text: qsTr("Export keys"), iconName: "export-keys" },
|
||||
{ name: "signout", text: qsTr("Sign out now"), iconName: "logout",
|
||||
{ name: "signout", text: qsTr("Sign out now"), iconName: "sign-out",
|
||||
iconColor: theme.colors.middleBackground },
|
||||
{ name: "cancel", text: qsTr("Cancel"), iconName: "cancel" },
|
||||
]
|
||||
@@ -107,11 +107,11 @@ HTileDelegate {
|
||||
|
||||
contextMenu: HMenu {
|
||||
HMenuItem {
|
||||
icon.name: "logout"
|
||||
icon.name: "sign-out"
|
||||
icon.color: theme.colors.negativeBackground
|
||||
text: qsTr("Logout")
|
||||
text: qsTr("Sign out")
|
||||
onTriggered: Utils.makePopup(
|
||||
"Popups/LogoutPopup.qml",
|
||||
"Popups/SignOutPopup.qml",
|
||||
mainUI,
|
||||
{ "userId": model.data.user_id },
|
||||
popup => { popup.ok.connect(() => { disconnecting = true }) },
|
||||
|
||||
Reference in New Issue
Block a user