fix: code review and missing `onTriggered`
This commit is contained in:
parent
c7e54c8de7
commit
0050a50f37
|
@ -150,7 +150,9 @@ 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"
|
||||||
console.log("TODO: Start new chat")
|
onTriggered: {
|
||||||
|
console.log("TODO: Start new chat")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
QQC2.Action {
|
QQC2.Action {
|
||||||
text: qsTr("Start group chat")
|
text: qsTr("Start group chat")
|
||||||
|
@ -199,7 +201,7 @@ Item {
|
||||||
width: 14
|
width: 14
|
||||||
rotation: 135
|
rotation: 135
|
||||||
x: bgAddItemMenu.width / 2 - width / 2
|
x: bgAddItemMenu.width / 2 - width / 2
|
||||||
layer.enabled: true
|
layer.enabled: true
|
||||||
layer.effect: DropShadow{
|
layer.effect: DropShadow{
|
||||||
width: bgAddItemMenuArrow.width
|
width: bgAddItemMenuArrow.width
|
||||||
height: bgAddItemMenuArrow.height
|
height: bgAddItemMenuArrow.height
|
||||||
|
|
Loading…
Reference in New Issue