| 785 | } |
| 786 | |
| 787 | void ForumTopic::applyTitle(const QString &title) { |
| 788 | if (_title == title) { |
| 789 | return; |
| 790 | } |
| 791 | _title = title; |
| 792 | invalidateTitleWithIcon(); |
| 793 | _defaultIcon = QImage(); |
| 794 | indexTitleParts(); |
| 795 | updateChatListEntry(); |
| 796 | session().changes().topicUpdated(this, UpdateFlag::Title); |
| 797 | } |
| 798 | |
| 799 | DocumentId ForumTopic::iconId() const { |
| 800 | return _iconId; |
no test coverage detected