mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-24 23:15:41 -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
|
@ -37,6 +37,7 @@ public:
|
|||
|
||||
void updateItemStatic();
|
||||
|
||||
virtual QString uniqueIdentifier() const override { return "ChatMsgItem " + QString::fromStdString(mPeerId.toStdString()) ;}
|
||||
protected:
|
||||
/* FeedItem */
|
||||
virtual void doExpand(bool /*open*/) {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue