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:
csoler 2015-05-15 14:45:44 +00:00
parent 1560da7ad9
commit 76fdbce10d
2 changed files with 341 additions and 338 deletions

View File

@ -725,7 +725,8 @@ void FriendList::insertPeers()
}
// iterate through gpg friends
for (gpgIt = gpgFriends.begin(); gpgIt != gpgFriends.end(); ++gpgIt) {
for (gpgIt = gpgFriends.begin(); gpgIt != gpgFriends.end(); ++gpgIt)
{
RsPgpId gpgId = *gpgIt;
if (mShowGroups) {

View File

@ -228,7 +228,7 @@ QString StatusDefs::connectStateWithoutTransportTypeString(RsPeerDetails &detail
QString StatusDefs::connectStateIpString(RsPeerDetails &details)
{
QString stateString = QString(details.connectAddr.c_str()) + QString(" [");
QString stateString = QString("");
switch (details.connectState) {
case 0:
@ -249,7 +249,9 @@ QString StatusDefs::connectStateIpString(RsPeerDetails &details)
stateString += qApp->translate("StatusDefs", "unkown");
break;
}
stateString += QString("]");
stateString += QString(" : ");
stateString += QString(details.connectAddr.c_str()) ;
return stateString;
}