mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-09-26 19:31:08 -04:00
avoid calling rsGxsChannels::setMessageReadStatus() when the message status is already what we want. Removed one warning that has been cleared.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7964 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
ab9cb2b600
commit
7178285d60
4 changed files with 23 additions and 11 deletions
|
@ -86,6 +86,11 @@ GxsChannelPostItem::~GxsChannelPostItem()
|
|||
delete(ui);
|
||||
}
|
||||
|
||||
bool GxsChannelPostItem::isUnread() const
|
||||
{
|
||||
return IS_MSG_UNREAD(mPost.mMeta.mMsgStatus) ;
|
||||
}
|
||||
|
||||
void GxsChannelPostItem::setup()
|
||||
{
|
||||
/* Invoke the Qt Designer generated object setup routine */
|
||||
|
|
|
@ -58,6 +58,8 @@ public:
|
|||
/* FeedItem */
|
||||
virtual void expand(bool open);
|
||||
|
||||
bool isUnread() const ;
|
||||
|
||||
protected:
|
||||
/* GxsGroupFeedItem */
|
||||
virtual QString groupName();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue