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:
thunder2 2011-03-26 23:19:28 +00:00
parent 5250c27fed
commit 4d9f07e797
3 changed files with 16 additions and 1 deletions

View file

@ -196,3 +196,13 @@ void RsharePeerSettings::loadWidgetInformation(const std::string &peerId, QWidge
endGroup();
endGroup();
}
bool RsharePeerSettings::getShowAvatarFrame(const std::string &peerId)
{
return get(peerId, "ShowAvatarFrame", true).toBool();
}
void RsharePeerSettings::setShowAvatarFrame(const std::string &peerId, bool value)
{
return set(peerId, "ShowAvatarFrame", value);
}