mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-27 08:29:26 -05:00
improved alignment of IPs in friend list
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@8258 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
1560da7ad9
commit
76fdbce10d
@ -725,7 +725,8 @@ void FriendList::insertPeers()
|
|||||||
}
|
}
|
||||||
|
|
||||||
// iterate through gpg friends
|
// iterate through gpg friends
|
||||||
for (gpgIt = gpgFriends.begin(); gpgIt != gpgFriends.end(); ++gpgIt) {
|
for (gpgIt = gpgFriends.begin(); gpgIt != gpgFriends.end(); ++gpgIt)
|
||||||
|
{
|
||||||
RsPgpId gpgId = *gpgIt;
|
RsPgpId gpgId = *gpgIt;
|
||||||
|
|
||||||
if (mShowGroups) {
|
if (mShowGroups) {
|
||||||
|
@ -228,7 +228,7 @@ QString StatusDefs::connectStateWithoutTransportTypeString(RsPeerDetails &detail
|
|||||||
|
|
||||||
QString StatusDefs::connectStateIpString(RsPeerDetails &details)
|
QString StatusDefs::connectStateIpString(RsPeerDetails &details)
|
||||||
{
|
{
|
||||||
QString stateString = QString(details.connectAddr.c_str()) + QString(" [");
|
QString stateString = QString("");
|
||||||
|
|
||||||
switch (details.connectState) {
|
switch (details.connectState) {
|
||||||
case 0:
|
case 0:
|
||||||
@ -249,7 +249,9 @@ QString StatusDefs::connectStateIpString(RsPeerDetails &details)
|
|||||||
stateString += qApp->translate("StatusDefs", "unkown");
|
stateString += qApp->translate("StatusDefs", "unkown");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
stateString += QString("]");
|
stateString += QString(" : ");
|
||||||
|
|
||||||
|
stateString += QString(details.connectAddr.c_str()) ;
|
||||||
|
|
||||||
return stateString;
|
return stateString;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user