mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-29 09:18:45 -04:00
added settings variable to allow to always display the help of each tab the first time it is shown
This commit is contained in:
parent
dc51911fce
commit
12246e369b
13 changed files with 49 additions and 16 deletions
|
@ -1160,3 +1160,14 @@ void RshareSettings::setWebinterfaceAllowAllIps(bool allow_all)
|
|||
{
|
||||
setValueToGroup("Webinterface", "allowAllIps", allow_all);
|
||||
}
|
||||
|
||||
bool RshareSettings::getPageFirstTimeDisplay(const QString& page_name)
|
||||
{
|
||||
return valueFromGroup("PageDisplayed",page_name,true).toBool();
|
||||
}
|
||||
|
||||
|
||||
void RshareSettings::setPageFirstTimeDisplay(const QString& page_name,bool b)
|
||||
{
|
||||
return setValueToGroup("PageDisplayed",page_name,b);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue