mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
fixed bug in read/unread with children menu items
This commit is contained in:
parent
42aab55961
commit
a0b6962bec
@ -1201,9 +1201,6 @@ void RsGxsForumModel::recursUpdateReadStatusAndTimes(ForumModelIndex i,bool& has
|
||||
|
||||
if(mPosts[i].mMostRecentTsInThread < mPosts[mPosts[i].mChildren[j]].mMostRecentTsInThread)
|
||||
mPosts[i].mMostRecentTsInThread = mPosts[mPosts[i].mChildren[j]].mMostRecentTsInThread;
|
||||
|
||||
if(ub && rb) // optimization
|
||||
break;
|
||||
}
|
||||
|
||||
if(has_unread_below)
|
||||
|
@ -56,7 +56,7 @@
|
||||
#include <iostream>
|
||||
#include <algorithm>
|
||||
|
||||
#define DEBUG_FORUMS
|
||||
//#define DEBUG_FORUMS
|
||||
|
||||
/* Images for context menu icons */
|
||||
#define IMAGE_MESSAGE ":/images/mail_new.png"
|
||||
|
Loading…
Reference in New Issue
Block a user