mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-22 22:21:09 -04:00
added new folder capability in collection
This commit is contained in:
parent
27f0962654
commit
a36f7221e7
6 changed files with 49 additions and 12 deletions
|
@ -438,6 +438,15 @@ QVariant RsCollectionModel::decorationRole(const EntryIndex& i,int col) const
|
|||
return QVariant();
|
||||
}
|
||||
|
||||
RsCollectionModel::EntryIndex RsCollectionModel::getIndex(const QModelIndex& i) const
|
||||
{
|
||||
EntryIndex res;
|
||||
res.is_file = false;
|
||||
res.index = 0;
|
||||
|
||||
convertInternalIdToIndex(i.internalId(),res);
|
||||
return res;
|
||||
}
|
||||
bool RsCollectionModel::isChecked(EntryIndex i)
|
||||
{
|
||||
if(i.is_file)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue