mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-12-12 07:16:19 -05:00
Fix File Transfert Progress Sorting.
This commit is contained in:
parent
1dc6bef985
commit
d81f9a351e
2 changed files with 7 additions and 4 deletions
|
|
@ -161,7 +161,7 @@ void DLListDelegate::paint(QPainter * painter, const QStyleOptionViewItem & opti
|
|||
case COLUMN_PROGRESS:
|
||||
{
|
||||
// create a xProgressBar
|
||||
FileProgressInfo pinfo = index.data().value<FileProgressInfo>() ;
|
||||
FileProgressInfo pinfo = index.data(Qt::UserRole).value<FileProgressInfo>() ;
|
||||
|
||||
// std::cerr << "drawing progress info: nb_chunks = " << pinfo.nb_chunks ;
|
||||
// for(uint i=0;i<pinfo.cmap._map.size();++i)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue