mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 14:16:16 -04:00
Fixed sort friends by state in PeersDialog
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3471 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
3759f8de6f
commit
d05d723af1
1 changed files with 1 additions and 1 deletions
|
@ -820,7 +820,7 @@ void PeersDialog::insertPeers()
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
gpg_item -> setData(COLUMN_STATE, ROLE_SORT, BuildStateSortString(true, gpg_item->text(COLUMN_NAME), PEER_STATE_INACTIVE));
|
gpg_item -> setData(COLUMN_STATE, ROLE_SORT, BuildStateSortString(true, gpg_item->text(COLUMN_NAME), bestPeerState));
|
||||||
} else if (gpg_online) {
|
} else if (gpg_online) {
|
||||||
gpg_item->setHidden(bHideUnconnected);
|
gpg_item->setHidden(bHideUnconnected);
|
||||||
gpgIcon = QIcon(IMAGE_AVAILABLE);
|
gpgIcon = QIcon(IMAGE_AVAILABLE);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue