Fix qml warning

This commit is contained in:
Tobias Fella
2022-10-24 16:50:34 +02:00
parent 0b9b3e3496
commit 9ae72058d9
2 changed files with 3 additions and 3 deletions

View File

@@ -831,9 +831,9 @@ QVariant MessageEventModel::data(const QModelIndex &idx, int role) const
Q_ASSERT(encrypted);
return m_currentRoom->connection()->isVerifiedSession(encrypted->sessionId());
}
#endif
#endif
return false;
#endif
#endif
}
if (role == DisplayNameForInitialsRole) {

View File

@@ -461,7 +461,7 @@ Kirigami.ScrollablePage {
source: "security-high"
width: height
height: parent.height
visible: hoverActions.event.verified
visible: hoverActions.event ? hoverActions.event.verified : false
HoverHandler {
id: hover
}