mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-12-13 07:38:54 -05:00
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:
parent
27c2ed0a97
commit
f60b37a213
7 changed files with 83 additions and 24 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue