mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-03 11:54:30 -04:00
fix non-latin peer name display in bw stats
This commit is contained in:
parent
792f7ff7eb
commit
9b66e7e83d
1 changed files with 1 additions and 1 deletions
|
@ -285,7 +285,7 @@ void BwCtrlWindow::updateBandwidth()
|
|||
std::string name = rsPeers->getPeerName(it->first);
|
||||
|
||||
peer_item -> setData(COLUMN_PEERID, Qt::DisplayRole, QString::fromStdString(it->first.toStdString()));
|
||||
peer_item -> setData(COLUMN_RSNAME, Qt::DisplayRole, QString::fromStdString(name));
|
||||
peer_item -> setData(COLUMN_RSNAME, Qt::DisplayRole, QString::fromUtf8(name.c_str()));
|
||||
|
||||
peer_item -> setData(COLUMN_IN_RATE, Qt::DisplayRole, it->second.mRateIn);
|
||||
peer_item -> setData(COLUMN_IN_MAX, Qt::DisplayRole, it->second.mRateMaxIn);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue