mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-22 22:21:09 -04:00
fixed download from RsCollection dialog
This commit is contained in:
parent
094c80e046
commit
27f0962654
4 changed files with 54 additions and 7 deletions
|
@ -438,6 +438,13 @@ QVariant RsCollectionModel::decorationRole(const EntryIndex& i,int col) const
|
|||
return QVariant();
|
||||
}
|
||||
|
||||
bool RsCollectionModel::isChecked(EntryIndex i)
|
||||
{
|
||||
if(i.is_file)
|
||||
return mFileInfos[i.index].is_checked;
|
||||
else
|
||||
return mDirInfos[i.index].check_state != DirCheckState::UNSELECTED;
|
||||
}
|
||||
void RsCollectionModel::notifyFilesBeingHashed(const std::list<RsFileHash>& files)
|
||||
{
|
||||
mFilesBeingHashed.insert(files.begin(),files.end());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue