mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-25 15:39:27 -05:00
Removed the location after the nick name in MessengerWindow.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3590 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
4cb8171bc0
commit
81a053aa1f
@ -52,7 +52,6 @@
|
|||||||
#include "util/Widget.h"
|
#include "util/Widget.h"
|
||||||
#include "settings/rsharesettings.h"
|
#include "settings/rsharesettings.h"
|
||||||
#include "common/RSTreeWidgetItem.h"
|
#include "common/RSTreeWidgetItem.h"
|
||||||
#include "common/PeerDefs.h"
|
|
||||||
|
|
||||||
#include "RetroShareLink.h"
|
#include "RetroShareLink.h"
|
||||||
|
|
||||||
@ -194,7 +193,7 @@ MessengerWindow::MessengerWindow(QWidget* parent, Qt::WFlags flags)
|
|||||||
std::string ownId = rsPeers->getOwnId();
|
std::string ownId = rsPeers->getOwnId();
|
||||||
if (rsPeers->getPeerDetails(ownId, pd)) {
|
if (rsPeers->getPeerDetails(ownId, pd)) {
|
||||||
/* calculate only once */
|
/* calculate only once */
|
||||||
m_nickName = PeerDefs::nameWithLocation(pd);
|
m_nickName = QString::fromUtf8(pd.name.c_str());
|
||||||
#ifdef MINIMAL_RSGUI
|
#ifdef MINIMAL_RSGUI
|
||||||
ui.statusButton->setText(m_nickName);
|
ui.statusButton->setText(m_nickName);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user