Refactor the MessageComponentModel component update

This commit is contained in:
James Graham
2024-04-23 11:35:52 +02:00
parent 69b6f16ec1
commit 66a60f09e3
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;