MCPcopy Create free account
hub / github.com/TDesktop-x64/tdesktop / applyTitle

Method applyTitle

Telegram/SourceFiles/data/data_forum_topic.cpp:787–797  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

785}
786
787void 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
799DocumentId ForumTopic::iconId() const {
800 return _iconId;

Callers 3

EditForumTopicBoxFunction · 0.80
applyTopicAddedMethod · 0.80
applyServiceChangesMethod · 0.80

Calls 3

topicUpdatedMethod · 0.80
QImageClass · 0.50
changesMethod · 0.45

Tested by

no test coverage detected