Fix qml warning
This commit is contained in:
@@ -831,9 +831,9 @@ QVariant MessageEventModel::data(const QModelIndex &idx, int role) const
|
|||||||
Q_ASSERT(encrypted);
|
Q_ASSERT(encrypted);
|
||||||
return m_currentRoom->connection()->isVerifiedSession(encrypted->sessionId());
|
return m_currentRoom->connection()->isVerifiedSession(encrypted->sessionId());
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
return false;
|
return false;
|
||||||
#endif
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (role == DisplayNameForInitialsRole) {
|
if (role == DisplayNameForInitialsRole) {
|
||||||
|
|||||||
@@ -461,7 +461,7 @@ Kirigami.ScrollablePage {
|
|||||||
source: "security-high"
|
source: "security-high"
|
||||||
width: height
|
width: height
|
||||||
height: parent.height
|
height: parent.height
|
||||||
visible: hoverActions.event.verified
|
visible: hoverActions.event ? hoverActions.event.verified : false
|
||||||
HoverHandler {
|
HoverHandler {
|
||||||
id: hover
|
id: hover
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user