Updates based on comments

This commit is contained in:
James Graham
2023-07-31 17:48:00 +01:00
parent 980211f36a
commit 648fff20f2
6 changed files with 20 additions and 5 deletions

View File

@@ -77,7 +77,7 @@ MessageEventModel::MessageEventModel(QObject *parent)
: QAbstractListModel(parent)
{
connect(static_cast<QGuiApplication *>(QGuiApplication::instance()), &QGuiApplication::paletteChanged, this, [this] {
Q_EMIT dataChanged(index(0, 0), index(rowCount() - 1, 0), {AuthorRole, ReplyRole});
Q_EMIT dataChanged(index(0, 0), index(rowCount() - 1, 0), {AuthorRole, ReplyAuthor, ReadMarkersRole});
});
}