mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-30 09:56:14 -05:00
remove own id from friends
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2016 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
b96a6d879e
commit
bb9fb11257
@ -287,6 +287,9 @@ void PeersDialog::insertPeers()
|
||||
|
||||
//add the gpg friends
|
||||
for(it = gpgFriends.begin(); it != gpgFriends.end(); it++) {
|
||||
if (*it == rsPeers->getPGPOwnId()) {
|
||||
continue;
|
||||
}
|
||||
RsPeerDetails detail;
|
||||
if (!rsPeers->getPeerDetails(*it, detail)) {
|
||||
continue; /* BAD */
|
||||
@ -355,7 +358,7 @@ void PeersDialog::insertPeers()
|
||||
sslItem -> setIcon(0,(QIcon(IMAGE_ONLINE)));
|
||||
QFont font;
|
||||
font.setBold(true);
|
||||
for(i = 1; i < 3; i++) {
|
||||
for(i = 0; i < 3; i++) {
|
||||
sslItem -> setTextColor(i,(Qt::darkBlue));
|
||||
sslItem -> setFont(i,font);
|
||||
}
|
||||
@ -363,7 +366,7 @@ void PeersDialog::insertPeers()
|
||||
sslItem -> setIcon(0,(QIcon(IMAGE_UNREACHABLE)));
|
||||
QFont font;
|
||||
font.setBold(false);
|
||||
for(i = 1; i < 3; i++) {
|
||||
for(i = 0; i < 3; i++) {
|
||||
sslItem -> setTextColor(i,(Qt::darkRed));
|
||||
sslItem -> setFont(i,font);
|
||||
}
|
||||
@ -372,7 +375,7 @@ void PeersDialog::insertPeers()
|
||||
sslItem -> setIcon(0,(QIcon(IMAGE_AVAIBLE)));
|
||||
QFont font;
|
||||
font.setBold(true);
|
||||
for(i = 1; i < 3; i++) {
|
||||
for(i = 0; i < 3; i++) {
|
||||
sslItem -> setTextColor(i,(Qt::darkCyan));
|
||||
sslItem -> setFont(i,font);
|
||||
}
|
||||
@ -384,7 +387,7 @@ void PeersDialog::insertPeers()
|
||||
}
|
||||
QFont font;
|
||||
font.setBold(false);
|
||||
for(i = 1; i < 3; i++) {
|
||||
for(i = 0; i < 3; i++) {
|
||||
sslItem -> setTextColor(i,(Qt::black));
|
||||
sslItem -> setFont(i,font);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user