mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 14:16:16 -04:00
Fixed display of the friend status in chat window.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@5014 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
499003d875
commit
fedba02d18
6 changed files with 16 additions and 4 deletions
|
@ -52,6 +52,8 @@ PopupChatDialog::PopupChatDialog(QWidget *parent, Qt::WFlags flags)
|
|||
|
||||
void PopupChatDialog::init(const std::string &peerId, const QString &title)
|
||||
{
|
||||
connect(ui.chatWidget, SIGNAL(statusChanged(int)), this, SLOT(statusChanged(int)));
|
||||
|
||||
ChatDialog::init(peerId, title);
|
||||
|
||||
/* Hide or show the avatar frames */
|
||||
|
@ -227,3 +229,8 @@ void PopupChatDialog::clearOfflineMessages()
|
|||
rsMsgs->clearPrivateChatQueue(false, peerId);
|
||||
manualDelete = false;
|
||||
}
|
||||
|
||||
void PopupChatDialog::statusChanged(int status)
|
||||
{
|
||||
updateStatus(status);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue