Refactor the MessageComponentModel component update

(cherry picked from commit 66a60f09e3)
This commit is contained in:
James Graham
2024-04-23 11:35:52 +02:00
committed by Tobias Fella
parent a9f05a7f63
commit 6a627dfff0
2 changed files with 72 additions and 54 deletions

View File

@@ -98,6 +98,8 @@ private:
QPointer<LinkPreviewer> m_linkPreviewer;
ItineraryModel *m_itineraryModel = nullptr;
QList<MessageComponent> componentsForType(MessageComponentType::Type type);
void updateLinkPreviewer();
void updateItineraryModel();
bool m_emptyItinerary = false;