mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 06:06:10 -04:00
insert the newest channel posts first and the oldest last (modified patch from Eugene Tooms)
This commit is contained in:
parent
8a41554754
commit
69f6bd0ea9
1 changed files with 2 additions and 2 deletions
|
@ -398,7 +398,7 @@ void GxsChannelPostsWidget::insertChannelPosts(std::vector<RsGxsChannelPost> &po
|
|||
return;
|
||||
}
|
||||
|
||||
std::vector<RsGxsChannelPost>::const_iterator it;
|
||||
std::vector<RsGxsChannelPost>::const_reverse_iterator it;
|
||||
|
||||
int count = posts.size();
|
||||
int pos = 0;
|
||||
|
@ -407,7 +407,7 @@ void GxsChannelPostsWidget::insertChannelPosts(std::vector<RsGxsChannelPost> &po
|
|||
ui->feedWidget->setSortingEnabled(false);
|
||||
}
|
||||
|
||||
for (it = posts.begin(); it != posts.end(); ++it)
|
||||
for (it = posts.rbegin(); it != posts.rend(); ++it)
|
||||
{
|
||||
if (thread && thread->stopped()) {
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue