mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
forgot to commit this: show correct connect address (local or global) depending on the current status
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6932 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
f6bdbd5e21
commit
57c66bd06f
@ -957,7 +957,8 @@ void FriendList::insertPeers()
|
||||
|
||||
/* IP */
|
||||
|
||||
QString sslItemIP = (sslDetail.state & RS_PEER_STATE_CONNECTED)?QString(sslDetail.extAddr.c_str()):QString("---");
|
||||
QString sslItemIP = (sslDetail.state & RS_PEER_STATE_CONNECTED)?QString(sslDetail.connectAddr.c_str()):QString("---");
|
||||
|
||||
sslItem->setData(COLUMN_IP, Qt::DisplayRole, QVariant(sslItemIP));
|
||||
sslItem->setData(COLUMN_IP, ROLE_SORT, sslItemIP);
|
||||
if (sslItemIP != itemIP) {
|
||||
|
Loading…
Reference in New Issue
Block a user