mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-29 09:18:45 -04:00
fixes required by review of pr1700
This commit is contained in:
parent
5223ff751a
commit
7aa51423a4
13 changed files with 98 additions and 154 deletions
|
@ -1167,26 +1167,6 @@ void RshareSettings::setWebinterfaceFilesDirectory(const QString& s)
|
|||
}
|
||||
|
||||
|
||||
uint16_t RshareSettings::getWebinterfacePort()
|
||||
{
|
||||
return valueFromGroup("Webinterface", "port", 1984).toUInt();
|
||||
}
|
||||
|
||||
void RshareSettings::setWebinterfacePort(uint16_t port)
|
||||
{
|
||||
setValueToGroup("Webinterface", "port", port);
|
||||
}
|
||||
|
||||
bool RshareSettings::getWebinterfaceAllowAllIps()
|
||||
{
|
||||
return valueFromGroup("Webinterface", "allowAllIps", false).toBool();
|
||||
}
|
||||
|
||||
void RshareSettings::setWebinterfaceAllowAllIps(bool allow_all)
|
||||
{
|
||||
setValueToGroup("Webinterface", "allowAllIps", allow_all);
|
||||
}
|
||||
|
||||
bool RshareSettings::getPageAlreadyDisplayed(const QString& page_name)
|
||||
{
|
||||
return valueFromGroup("PageAlreadyDisplayed",page_name,false).toBool();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue