Fix unqualified access
This commit is contained in:
@@ -63,7 +63,7 @@ Kirigami.Dialog {
|
|||||||
|
|
||||||
elide: Text.ElideRight
|
elide: Text.ElideRight
|
||||||
wrapMode: Text.NoWrap
|
wrapMode: Text.NoWrap
|
||||||
text: user.displayName
|
text: root.user.displayName
|
||||||
textFormat: Text.PlainText
|
textFormat: Text.PlainText
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -122,7 +122,7 @@ Kirigami.Dialog {
|
|||||||
text: i18n("Kick this user")
|
text: i18n("Kick this user")
|
||||||
icon.name: "im-kick-user"
|
icon.name: "im-kick-user"
|
||||||
onTriggered: {
|
onTriggered: {
|
||||||
room.kickMember(root.user.id);
|
root.room.kickMember(root.user.id);
|
||||||
root.close();
|
root.close();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -136,7 +136,7 @@ Kirigami.Dialog {
|
|||||||
text: i18n("Invite this user")
|
text: i18n("Invite this user")
|
||||||
icon.name: "list-add-user"
|
icon.name: "list-add-user"
|
||||||
onTriggered: {
|
onTriggered: {
|
||||||
room.inviteToRoom(root.user.id);
|
root.room.inviteToRoom(root.user.id);
|
||||||
root.close();
|
root.close();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -170,14 +170,14 @@ Kirigami.Dialog {
|
|||||||
icon.name: "im-irc"
|
icon.name: "im-irc"
|
||||||
icon.color: Kirigami.Theme.negativeTextColor
|
icon.color: Kirigami.Theme.negativeTextColor
|
||||||
onTriggered: {
|
onTriggered: {
|
||||||
room.unban(root.user.id);
|
root.room.unban(root.user.id);
|
||||||
root.close();
|
root.close();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
FormCard.FormButtonDelegate {
|
FormCard.FormButtonDelegate {
|
||||||
visible: root.room && room.canSendState("m.room.power_levels")
|
visible: root.room && root.room.canSendState("m.room.power_levels")
|
||||||
action: Kirigami.Action {
|
action: Kirigami.Action {
|
||||||
text: i18n("Set user power level")
|
text: i18n("Set user power level")
|
||||||
icon.name: "visibility"
|
icon.name: "visibility"
|
||||||
|
|||||||
Reference in New Issue
Block a user