mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-12-17 17:43:59 -05:00
fixed a few bugs in posts model
This commit is contained in:
parent
129ffdd6c5
commit
fecd4369ec
2 changed files with 32 additions and 38 deletions
|
|
@ -488,6 +488,9 @@ void GxsChannelPostsWidgetWithModel::showPostDetails()
|
|||
mChannelPostFilesModel->clear();
|
||||
return;
|
||||
}
|
||||
if(index.row()==0 && index.column()==0)
|
||||
std::cerr << "here" << std::endl;
|
||||
|
||||
RsGxsChannelPost post = index.data(Qt::UserRole).value<RsGxsChannelPost>() ;
|
||||
|
||||
mChannelPostFilesModel->setFiles(post.mFiles);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue