mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 14:38:04 -06:00
committed by
GitHub
parent
3ef4d0d798
commit
3978137534
@@ -655,6 +655,32 @@ void Preferences::setSearchEnabled(const bool enabled)
|
||||
setValue(u"Preferences/Search/SearchEnabled"_s, enabled);
|
||||
}
|
||||
|
||||
bool Preferences::storeOpenedSearchTabs() const
|
||||
{
|
||||
return value(u"Search/StoreOpenedSearchTabs"_s, false);
|
||||
}
|
||||
|
||||
void Preferences::setStoreOpenedSearchTabs(const bool enabled)
|
||||
{
|
||||
if (enabled == storeOpenedSearchTabs())
|
||||
return;
|
||||
|
||||
setValue(u"Search/StoreOpenedSearchTabs"_s, enabled);
|
||||
}
|
||||
|
||||
bool Preferences::storeOpenedSearchTabResults() const
|
||||
{
|
||||
return value(u"Search/StoreOpenedSearchTabResults"_s, false);
|
||||
}
|
||||
|
||||
void Preferences::setStoreOpenedSearchTabResults(const bool enabled)
|
||||
{
|
||||
if (enabled == storeOpenedSearchTabResults())
|
||||
return;
|
||||
|
||||
setValue(u"Search/StoreOpenedSearchTabResults"_s, enabled);
|
||||
}
|
||||
|
||||
bool Preferences::isWebUIEnabled() const
|
||||
{
|
||||
#ifdef DISABLE_GUI
|
||||
|
||||
Reference in New Issue
Block a user