mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-23 05:05:30 -04:00
Fixed sort of uploads and downloads by progress.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3603 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
22b74c8e63
commit
26491f4b73
4 changed files with 36 additions and 32 deletions
|
@ -28,6 +28,11 @@
|
|||
#include <retroshare/rstypes.h>
|
||||
#include "xprogressbar.h"
|
||||
|
||||
bool FileProgressInfo::operator<(const FileProgressInfo &other) const
|
||||
{
|
||||
return progress < other.progress;
|
||||
}
|
||||
|
||||
xProgressBar::xProgressBar(const FileProgressInfo& pinfo,QRect rect, QPainter *painter, int schemaIndex)
|
||||
: _pinfo(pinfo)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue