mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-23 22:49:37 -05:00
small change to display peer names in transfers dialog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@890 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
e3514aaa3c
commit
9b92699500
@ -36,6 +36,7 @@
|
|||||||
|
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
#include "rsiface/rsfiles.h"
|
#include "rsiface/rsfiles.h"
|
||||||
|
#include "rsiface/rspeers.h"
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
|
|
||||||
/* Images for context menu icons */
|
/* Images for context menu icons */
|
||||||
@ -386,7 +387,7 @@ void TransfersDialog::insertTransfers()
|
|||||||
symbol = "";
|
symbol = "";
|
||||||
coreId = QString::fromStdString(info.hash);
|
coreId = QString::fromStdString(info.hash);
|
||||||
name = QString::fromStdString(info.fname);
|
name = QString::fromStdString(info.fname);
|
||||||
sources = QString::fromStdString(pit->peerId);
|
sources = QString::fromStdString(rsPeers->getPeerName(pit->peerId));
|
||||||
|
|
||||||
switch(pit->status)
|
switch(pit->status)
|
||||||
{
|
{
|
||||||
@ -495,7 +496,7 @@ void TransfersDialog::insertTransfers()
|
|||||||
symbol = "";
|
symbol = "";
|
||||||
coreId = QString::fromStdString(info.hash);
|
coreId = QString::fromStdString(info.hash);
|
||||||
name = QString::fromStdString(info.fname);
|
name = QString::fromStdString(info.fname);
|
||||||
sources = QString::fromStdString(pit->peerId);
|
sources = QString::fromStdString(rsPeers->getPeerName(pit->peerId));
|
||||||
|
|
||||||
switch(pit->status)
|
switch(pit->status)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user