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:
thunder2 2010-10-04 20:15:52 +00:00
parent 22b74c8e63
commit 26491f4b73
4 changed files with 36 additions and 32 deletions

View file

@ -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)
{