Fix qml warning
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user