Update TransfersDialog.cpp

This commit is contained in:
Pooh 2017-09-25 22:31:49 +03:00 committed by GitHub
parent 72dc1c7da4
commit f98f16fb15

View File

@ -1502,7 +1502,7 @@ QString TransfersDialog::getPeerName(const RsPeerId& id, QString &iconName, QStr
//
if(res == "")
{
res = QString::fromStdString(rsTurtle->getPeerNameForVirtualPeerId(id));
res = QString::fromUtf8(rsTurtle->getPeerNameForVirtualPeerId(id).c_str());
if(rsFiles->isEncryptedSource(id))
{
iconName = IMAGE_TUNNEL_ANON_E2E;