Don't add a ChatMsgItem as feed on own public chat message.

Moved the handling of the avatar from PeerItem::updateItem and ChatMsgItem::updateItem called with QTimer to connect to the signal peerHasNewAvatar.
Fixed compiler warning.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3419 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2010-08-31 22:42:40 +00:00
parent b01c6bf3d1
commit af4667232b
6 changed files with 44 additions and 37 deletions

View file

@ -40,8 +40,6 @@ public:
/** Default Destructor */
void updateItemStatic();
void loadAvatar();
private slots:
/* default stuff */
@ -52,6 +50,7 @@ private slots:
void openChat();
void updateItem();
void updateAvatar(const QString &peer_id);
private:
void insertChat(std::string &message);