Removed new lines of the QLineEdit input fields after input in forum, channel, message and group.

Removed size hint of he trees to show erroneous texts.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3768 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2010-11-09 19:57:05 +00:00
parent 49a9268b9e
commit b79341503e
13 changed files with 54 additions and 38 deletions

View file

@ -26,12 +26,13 @@
#include <algorithm>
#include "GroupDefs.h"
#include "util/misc.h"
const QString GroupDefs::name(const RsGroupInfo &groupInfo)
{
if ((groupInfo.flag & RS_GROUP_FLAG_STANDARD) == 0) {
/* no need to be translated */
return QString::fromUtf8(groupInfo.name.c_str());
return misc::removeNewLine(groupInfo.name);
}
if (groupInfo.id == RS_GROUP_ID_FRIENDS) {