Added a new setting to channels to enable/disable threaded loading.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7484 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2014-08-06 17:41:22 +00:00
parent 27c2ed0a97
commit f60b37a213
7 changed files with 83 additions and 24 deletions

View file

@ -968,6 +968,17 @@ void RshareSettings::setForumLoadEmbeddedImages(bool value)
setValueToGroup("Forum", "LoadEmbeddedImages", value);
}
/* Channel */
bool RshareSettings::getChannelLoadThread()
{
return valueFromGroup("Channel", "LoadThread", true).toBool();
}
void RshareSettings::setChannelLoadThread(bool value)
{
setValueToGroup("Channel", "LoadThread", value);
}
/* GroupFrame settings */
static QString groupFrameSettingsTypeToString(GroupFrameSettings::Type type)
{