Fix qml warnings

This commit is contained in:
Carl Schwan
2021-05-23 22:55:20 +02:00
parent 0dbb56ba1e
commit 34da8734a2
2 changed files with 7 additions and 2 deletions

View File

@@ -143,9 +143,9 @@ Kirigami.ScrollablePage {
Item {
id: hoverActions
property var event
property var event: null
property bool showEdit: event && (event.author.id === Controller.activeConnection.localUserId && (event.eventType === "emote" || event.eventType === "message"))
property var bubble
property var bubble: null
property var hovered: bubble && bubble.hovered
property var visibleDelayed: (hovered || hoverHandler.hovered) && !Kirigami.Settings.isMobile
onVisibleDelayedChanged: if (visibleDelayed) {