Put message debug thing in EventContent
This commit is contained in:
parent
c1a27328d9
commit
d9addff8ef
|
@ -21,6 +21,14 @@ HRowLayout {
|
||||||
totalSpacing
|
totalSpacing
|
||||||
|
|
||||||
|
|
||||||
|
TapHandler {
|
||||||
|
enabled: debugMode
|
||||||
|
onDoubleTapped:
|
||||||
|
Utils.debug(eventContent, con => { con.runJS("json()") })
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Item {
|
Item {
|
||||||
id: avatarWrapper
|
id: avatarWrapper
|
||||||
opacity: collapseAvatar ? 0 : 1
|
opacity: collapseAvatar ? 0 : 1
|
||||||
|
|
|
@ -165,13 +165,5 @@ Column {
|
||||||
{userId: chatPage.userId, roomId: chatPage.roomId},
|
{userId: chatPage.userId, roomId: chatPage.roomId},
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
HMenuItem {
|
|
||||||
icon.name: "settings"
|
|
||||||
text: qsTr("Set as debug console target")
|
|
||||||
visible: debugMode
|
|
||||||
onTriggered:
|
|
||||||
Utils.debug(eventDelegate, con => { con.runJS("json()") })
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user