From 0f7b6a0bb85be3e63643af36a4f5be6f38c9c769 Mon Sep 17 00:00:00 2001 From: joss17 Date: Sat, 30 Jan 2010 22:00:50 +0000 Subject: [PATCH] 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 --- retroshare-gui/src/gui/msgs/ChanMsgDialog.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/retroshare-gui/src/gui/msgs/ChanMsgDialog.cpp b/retroshare-gui/src/gui/msgs/ChanMsgDialog.cpp index c9eec606d..9f0090a74 100644 --- a/retroshare-gui/src/gui/msgs/ChanMsgDialog.cpp +++ b/retroshare-gui/src/gui/msgs/ChanMsgDialog.cpp @@ -289,6 +289,9 @@ void ChanMsgDialog::insertSendList() /* add all the labels */ /* (0) Person */ item -> setText(0, QString::fromStdString(detail.name) + " - " + QString::fromStdString(detail.location)); + if (detail.state & RS_PEER_STATE_CONNECTED) { + item -> setTextColor(0,(Qt::darkBlue)); + } /* () Org */ //item -> setText(1, QString::fromStdString(detail.org)); /* () Location */