From 56aa5a391330520a91752982ed668ddd8fef038d Mon Sep 17 00:00:00 2001 From: defnax Date: Sun, 13 Sep 2009 18:47:13 +0000 Subject: [PATCH] changend textcolor for Channel name Label git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1648 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- retroshare-gui/src/gui/ChannelFeed.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/retroshare-gui/src/gui/ChannelFeed.cpp b/retroshare-gui/src/gui/ChannelFeed.cpp index 9a47a92a6..6ef065bb7 100644 --- a/retroshare-gui/src/gui/ChannelFeed.cpp +++ b/retroshare-gui/src/gui/ChannelFeed.cpp @@ -615,8 +615,14 @@ void ChannelFeed::updateChannelMsgs() nameLabel->setText("No Channel Selected"); return; } - /* set channel name */ - nameLabel->setText(QString::fromStdWString(ci.channelName)); + + /* set textcolor for Channel name */ + QString channelStr("%1"); + + /* set Channel name */ + QString cname = QString::fromStdWString(ci.channelName); + nameLabel->setText(channelStr.arg(cname)); /* do buttons */ if (ci.channelFlags & RS_DISTRIB_SUBSCRIBED)