mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-29 01:16:20 -05:00
Changed display of the own name in FriendsDialog from "Name (me) Location" to "Name (Location)".
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5044 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
bbdb3b9614
commit
67cf9c5f3c
@ -38,6 +38,7 @@
|
||||
#include "channels/CreateChannel.h"
|
||||
#include "common/Emoticons.h"
|
||||
#include "common/vmessagebox.h"
|
||||
#include "common/PeerDefs.h"
|
||||
#include "chat/ChatDialog.h"
|
||||
#include "connect/ConfCertDialog.h"
|
||||
#include "connect/ConnectFriendWizard.h"
|
||||
@ -203,9 +204,8 @@ FriendsDialog::FriendsDialog(QWidget *parent)
|
||||
// add self nick and Avatar to Friends.
|
||||
RsPeerDetails pd ;
|
||||
if (rsPeers->getPeerDetails(rsPeers->getOwnId(),pd)) {
|
||||
QString titleStr("<span style=\"font-size:16pt; font-weight:500;"
|
||||
"color:#32cd32;\">%1</span>");
|
||||
ui.nicklabel->setText(titleStr.arg(QString::fromUtf8(pd.name.c_str()) + " (" + tr("me") + ") " + QString::fromUtf8(pd.location.c_str())));
|
||||
QString titleStr("<span style=\"font-size:16pt; font-weight:500;color:#32cd32;\">%1</span>");
|
||||
ui.nicklabel->setText(titleStr.arg(PeerDefs::nameWithLocation(pd)));
|
||||
}
|
||||
|
||||
/* Hide platform specific features */
|
||||
|
Loading…
Reference in New Issue
Block a user