fix: code review and missing `onTriggered`

This commit is contained in:
Richard Ramos 2020-05-27 11:15:01 -04:00 committed by RichΛrd
parent c7e54c8de7
commit 0050a50f37
1 changed files with 5 additions and 3 deletions

View File

@ -150,8 +150,10 @@ Item {
QQC2.Action { QQC2.Action {
text: qsTr("Start new chat") text: qsTr("Start new chat")
icon.source: "../../img/new_chat.svg" icon.source: "../../img/new_chat.svg"
onTriggered: {
console.log("TODO: Start new chat") console.log("TODO: Start new chat")
} }
}
QQC2.Action { QQC2.Action {
text: qsTr("Start group chat") text: qsTr("Start group chat")
icon.source: "../../img/group_chat.svg" icon.source: "../../img/group_chat.svg"