simplified the addIfUnique mechanism in NewsFeed by using a data-based identifier for items

This commit is contained in:
csoler 2019-12-03 22:30:13 +01:00
parent fcbecbaa16
commit b85be7cc8e
No known key found for this signature in database
GPG key ID: 7BCA522266C0804C
21 changed files with 62 additions and 165 deletions

View file

@ -42,6 +42,8 @@ public:
bool setGroup(const RsPostedGroup &group);
virtual QString uniqueIdentifier() const override { return "PostedGroupItem " + QString::fromStdString(mGroup.mMeta.mGroupId.toStdString()) ; }
protected:
/* FeedItem */
virtual void doExpand(bool open);