mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-22 22:21:09 -04:00
simplified the addIfUnique mechanism in NewsFeed by using a data-based identifier for items
This commit is contained in:
parent
fcbecbaa16
commit
b85be7cc8e
21 changed files with 62 additions and 165 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue