MessageContentModel improvements
Remove the hack for DelegateChooser and minimise the amount of updates when data changes
This commit is contained in:
@@ -10,7 +10,7 @@ struct MessageComponent {
|
||||
QString content;
|
||||
QVariantMap attributes;
|
||||
|
||||
int operator==(const MessageComponent &right) const
|
||||
bool operator==(const MessageComponent &right) const
|
||||
{
|
||||
return type == right.type && content == right.content && attributes == right.attributes;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user