mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-25 06:40:58 -04:00
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:
parent
49a9268b9e
commit
b79341503e
13 changed files with 54 additions and 38 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue