diff --git a/retroshare-gui/src/gui/MessengerWindow.h b/retroshare-gui/src/gui/MessengerWindow.h index 721381b8e..38ab68b1d 100644 --- a/retroshare-gui/src/gui/MessengerWindow.h +++ b/retroshare-gui/src/gui/MessengerWindow.h @@ -55,6 +55,7 @@ public slots: void show(); void updatePeersAvatar(const QString& peer_id); + void updateAvatar(); LogoBar & getLogoBar() const; @@ -92,7 +93,6 @@ private slots: void getAvatar(); void changeAvatarClicked(); - void updateAvatar(); void loadmystatus(); void loadstatus(); diff --git a/retroshare-gui/src/main.cpp b/retroshare-gui/src/main.cpp index 238bd46b8..1c8afc6f1 100644 --- a/retroshare-gui/src/main.cpp +++ b/retroshare-gui/src/main.cpp @@ -146,6 +146,7 @@ int main(int argc, char *argv[]) QObject::connect(notify,SIGNAL(peerHasNewCustomStateString(const QString&)),w->peersDialog,SLOT(updatePeersCustomStateString(const QString&))); QObject::connect(notify,SIGNAL(peerHasNewAvatar(const QString&)),w->peersDialog,SLOT(updatePeersAvatar(const QString&))); QObject::connect(notify,SIGNAL(ownAvatarChanged()),w->peersDialog,SLOT(updateAvatar())); + QObject::connect(notify,SIGNAL(ownAvatarChanged()),w->messengerWindow,SLOT(updateAvatar())); QObject::connect(notify,SIGNAL(ownStatusMessageChanged()),w->peersDialog,SLOT(loadmypersonalstatus())); QObject::connect(notify,SIGNAL(logInfoChanged(const QString&)),w->networkDialog,SLOT(setLogInfo(QString))) ;