Set icon for starting direct chat

This commit is contained in:
miruka 2019-11-09 14:29:19 -04:00
parent de59948214
commit 793024434f
2 changed files with 5 additions and 2 deletions

View File

@ -0,0 +1,3 @@
<svg height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
<path d="m7 11c-.828 0-1.5-.671-1.5-1.5s.672-1.5 1.5-1.5c.829 0 1.5.671 1.5 1.5s-.671 1.5-1.5 1.5zm5 0c-.828 0-1.5-.671-1.5-1.5s.672-1.5 1.5-1.5c.829 0 1.5.671 1.5 1.5s-.671 1.5-1.5 1.5zm5 0c-.828 0-1.5-.671-1.5-1.5s.672-1.5 1.5-1.5c.829 0 1.5.671 1.5 1.5s-.671 1.5-1.5 1.5zm5-8v13h-11.643l-4.357 3.105v-3.105h-4v-13zm2-2h-24v16.981h4v5.019l7-5.019h13z"/>
</svg>

After

Width:  |  Height:  |  Size: 451 B

View File

@ -10,8 +10,8 @@ HBox {
onFocusChanged: userField.forceActiveFocus() onFocusChanged: userField.forceActiveFocus()
buttonModel: [ buttonModel: [
{ name: "apply", text: qsTr("Start chat"), iconName: "join", { name: "apply", text: qsTr("Start chat"),
enabled: Boolean(userField.text), }, iconName: "start-direct-chat", enabled: Boolean(userField.text) },
{ name: "cancel", text: qsTr("Cancel"), iconName: "cancel" }, { name: "cancel", text: qsTr("Cancel"), iconName: "cancel" },
] ]