mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-21 21:55:15 -05:00
in message composer, connected peers are colored in blue
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2160 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
d6ebef77fb
commit
0f7b6a0bb8
@ -289,6 +289,9 @@ void ChanMsgDialog::insertSendList()
|
|||||||
/* add all the labels */
|
/* add all the labels */
|
||||||
/* (0) Person */
|
/* (0) Person */
|
||||||
item -> setText(0, QString::fromStdString(detail.name) + " - " + QString::fromStdString(detail.location));
|
item -> setText(0, QString::fromStdString(detail.name) + " - " + QString::fromStdString(detail.location));
|
||||||
|
if (detail.state & RS_PEER_STATE_CONNECTED) {
|
||||||
|
item -> setTextColor(0,(Qt::darkBlue));
|
||||||
|
}
|
||||||
/* () Org */
|
/* () Org */
|
||||||
//item -> setText(1, QString::fromStdString(detail.org));
|
//item -> setText(1, QString::fromStdString(detail.org));
|
||||||
/* () Location */
|
/* () Location */
|
||||||
|
Loading…
Reference in New Issue
Block a user