Fixed context menu "Cancel" and "Copy RetroShare Links" in TransfersDialog when a peer is selected.

Fixed DetailsDialog when a peer is selected.
Sort peers by name ascending in the download list.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4018 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2011-02-08 00:41:13 +00:00
parent dbe0890974
commit 9d76a44890
4 changed files with 205 additions and 132 deletions

View file

@ -33,6 +33,11 @@ bool FileProgressInfo::operator<(const FileProgressInfo &other) const
return progress < other.progress;
}
bool FileProgressInfo::operator>(const FileProgressInfo &other) const
{
return progress > other.progress;
}
xProgressBar::xProgressBar(const FileProgressInfo& pinfo,QRect rect, QPainter *painter, int schemaIndex)
: _pinfo(pinfo)
{