mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-25 23:06:10 -05: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
@ -820,7 +820,7 @@ void PeersDialog::insertPeers()
|
||||
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) {
|
||||
gpg_item->setHidden(bHideUnconnected);
|
||||
gpgIcon = QIcon(IMAGE_AVAILABLE);
|
||||
|
Loading…
x
Reference in New Issue
Block a user