mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-06 08:05:18 -04:00
Share Flags
- 1st attempt at displaying share properties in the SharedFlagsDialog. - added share flags in DirDetails structure in place of Rank, that is not used anymore. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1509 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
2380b0c793
commit
a808ab9173
8 changed files with 225 additions and 179 deletions
|
@ -459,7 +459,7 @@ void ChanMsgDialog::insertFileList(const std::list<DirDetails>& files_info)
|
|||
FileInfo info ;
|
||||
info.fname = it->name ;
|
||||
info.hash = it->hash ;
|
||||
info.rank = it->rank ;
|
||||
info.rank = 0;//it->rank ;
|
||||
info.size = it->count ;
|
||||
_recList.push_back(info) ;
|
||||
|
||||
|
@ -468,7 +468,7 @@ void ChanMsgDialog::insertFileList(const std::list<DirDetails>& files_info)
|
|||
|
||||
item->setText(0, QString::fromStdString(it->name)); /* (0) Filename */
|
||||
item->setText(1, misc::friendlyUnit(it->count)); /* (1) Size */
|
||||
item->setText(2, QString::number(it->rank));
|
||||
item->setText(2, QString::number(0)) ;//it->rank));
|
||||
item->setText(3, QString::fromStdString(it->hash));
|
||||
item->setFlags(Qt::ItemIsUserCheckable | Qt::ItemIsEnabled);
|
||||
item->setCheckState(0, Qt::Checked);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue