mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-29 09:18:45 -04:00
added distant chat settings
This commit is contained in:
parent
bdea4a66ed
commit
cbfe49f0f3
9 changed files with 2733 additions and 61 deletions
|
@ -728,6 +728,16 @@ void RshareSettings::setPrivateChatHistoryCount(int value)
|
|||
setValueToGroup("Chat", "PrivateChatHistoryCount", value);
|
||||
}
|
||||
|
||||
int RshareSettings::getDistantChatHistoryCount()
|
||||
{
|
||||
return valueFromGroup("Chat", "DistantChatHistoryCount", 20).toInt();
|
||||
}
|
||||
|
||||
void RshareSettings::setDistantChatHistoryCount(int value)
|
||||
{
|
||||
setValueToGroup("Chat", "DistantChatHistoryCount", value);
|
||||
}
|
||||
|
||||
/** Returns true if RetroShare is set to run on system boot. */
|
||||
bool
|
||||
RshareSettings::runRetroshareOnBoot(bool &minimized)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue