avatar painting is returned to delegate; sender names now are not painted in every message

This commit is contained in:
Blue 2022-01-07 17:02:49 +03:00
parent 7130e674c4
commit 9ac0ca10f3
Signed by untrusted user: blue
GPG key ID: 9B203B252A63EE38
4 changed files with 93 additions and 73 deletions

View file

@ -74,7 +74,6 @@ private:
bool tryToCalculateGeometriesWithNoScrollbars(const QStyleOptionViewItem& option, const QAbstractItemModel* model, uint32_t totalHeight);
void positionProgress();
void drawDateDevider(int top, const QDateTime& date, QPainter& painter);
void drawAvatar(const QModelIndex& index, const QStyleOptionViewItem& option, QPainter& painter);
private:
struct Hint {