mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-12-12 07:16:19 -05:00
Fixed Avatar update
This commit is contained in:
parent
1ab5ad0a8e
commit
ea1d13c1d9
1 changed files with 2 additions and 1 deletions
|
|
@ -87,7 +87,6 @@ void PopupDistantChatDialog::init(const ChatId &chat_id, const QString &/*title*
|
|||
|
||||
ui.ownAvatarWidget->setOwnId() ; // sets the flag
|
||||
ui.ownAvatarWidget->setId(chat_id) ; // sets the actual Id
|
||||
ui.avatarWidget->setId(chat_id);
|
||||
|
||||
_status_label->setIcon(FilesDefs::getIconFromQtResourcePath(IMAGE_GRY_LED));
|
||||
auto msg = tr("Remote status unknown.");
|
||||
|
|
@ -112,6 +111,8 @@ void PopupDistantChatDialog::handleEvent_main_thread(std::shared_ptr<const RsEve
|
|||
std::cerr << "Got event!" << std::endl;
|
||||
std::cerr << "Event code = " << (int)ev->mEventCode << std::endl;
|
||||
|
||||
ui.avatarWidget->setId(ChatId(_tunnel_id));
|
||||
|
||||
QString msg;
|
||||
|
||||
switch(ev->mEventCode)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue