mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 06:28:03 -06:00
Enhancement of the webui preference and of the quote escape for javascript
This commit is contained in:
@@ -1076,7 +1076,11 @@ void Preferences::setIgnoreSlowTorrentsForQueueing(bool ignore)
|
||||
|
||||
bool Preferences::isWebUiEnabled() const
|
||||
{
|
||||
#ifdef DISABLE_GUI
|
||||
return true;
|
||||
#else
|
||||
return value("Preferences/WebUI/Enabled", false).toBool();
|
||||
#endif
|
||||
}
|
||||
|
||||
void Preferences::setWebUiEnabled(bool enabled)
|
||||
|
||||
Reference in New Issue
Block a user