mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-03 20:04:20 -04:00
added some delay in the showHelp() feature
This commit is contained in:
parent
12246e369b
commit
3230e55f04
4 changed files with 12 additions and 10 deletions
|
@ -1161,13 +1161,13 @@ void RshareSettings::setWebinterfaceAllowAllIps(bool allow_all)
|
|||
setValueToGroup("Webinterface", "allowAllIps", allow_all);
|
||||
}
|
||||
|
||||
bool RshareSettings::getPageFirstTimeDisplay(const QString& page_name)
|
||||
bool RshareSettings::getPageAlreadyDisplayed(const QString& page_name)
|
||||
{
|
||||
return valueFromGroup("PageDisplayed",page_name,true).toBool();
|
||||
return valueFromGroup("PageAlreadyDisplayed",page_name,false).toBool();
|
||||
}
|
||||
|
||||
|
||||
void RshareSettings::setPageFirstTimeDisplay(const QString& page_name,bool b)
|
||||
void RshareSettings::setPageAlreadyDisplayed(const QString& page_name,bool b)
|
||||
{
|
||||
return setValueToGroup("PageDisplayed",page_name,b);
|
||||
return setValueToGroup("PageAlreadyDisplayed",page_name,b);
|
||||
}
|
||||
|
|
|
@ -336,8 +336,8 @@ public:
|
|||
// proxy function that computes the best icon size among sizes passed as array, to match the recommended size on screen.
|
||||
int computeBestIconSize(int n_sizes, int *sizes, int recommended_size);
|
||||
|
||||
bool getPageFirstTimeDisplay(const QString& page_code) ;
|
||||
void setPageFirstTimeDisplay(const QString& page_code,bool b) ;
|
||||
bool getPageAlreadyDisplayed(const QString& page_code) ;
|
||||
void setPageAlreadyDisplayed(const QString& page_code,bool b) ;
|
||||
|
||||
protected:
|
||||
/** Default constructor. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue