mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 22:25:04 -04:00
Saved the visible state of the avatar picture in private chat for the friend.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4105 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
5250c27fed
commit
4d9f07e797
3 changed files with 16 additions and 1 deletions
|
@ -107,7 +107,7 @@ PopupChatDialog::PopupChatDialog(const std::string &id, const QString &name, QWi
|
|||
style.setStyleFromSettings(ChatStyle::TYPE_PRIVATE);
|
||||
|
||||
/* Hide or show the frames */
|
||||
showAvatarFrame(true);
|
||||
showAvatarFrame(PeerSettings->getShowAvatarFrame(dialogId));
|
||||
ui.infoframe->setVisible(false);
|
||||
ui.statusmessagelabel->hide();
|
||||
|
||||
|
@ -750,6 +750,8 @@ void PopupChatDialog::showAvatarFrame(bool show)
|
|||
ui.avatarFrameButton->setToolTip(tr("Show Avatar"));
|
||||
ui.avatarFrameButton->setIcon(QIcon(":images/show_toolbox_frame.png"));
|
||||
}
|
||||
|
||||
PeerSettings->setShowAvatarFrame(dialogId, show);
|
||||
}
|
||||
|
||||
void PopupChatDialog::on_closeInfoFrameButton_clicked()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue