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:
joss17 2010-01-30 22:00:50 +00:00
parent d6ebef77fb
commit 0f7b6a0bb8

View File

@ -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 */