added settings variable to allow to always display the help of each tab the first time it is shown

This commit is contained in:
csoler 2017-02-25 23:52:57 +01:00
parent dc51911fce
commit 12246e369b
13 changed files with 49 additions and 16 deletions

View file

@ -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);
}