mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-11 15:56:17 -07:00
Add regex option in the search filter's context menu
In the search job widget.
This commit is contained in:
parent
6c9a4df515
commit
4dcb0b922e
4 changed files with 35 additions and 1 deletions
|
@ -1429,6 +1429,16 @@ void Preferences::setSearchTabHeaderState(const QByteArray &state)
|
|||
setValue("SearchTab/qt5/HeaderState", state);
|
||||
}
|
||||
|
||||
bool Preferences::getRegexAsFilteringPatternForSearchJob() const
|
||||
{
|
||||
return value("SearchTab/UseRegexAsFilteringPattern", false).toBool();
|
||||
}
|
||||
|
||||
void Preferences::setRegexAsFilteringPatternForSearchJob(const bool checked)
|
||||
{
|
||||
setValue("SearchTab/UseRegexAsFilteringPattern", checked);
|
||||
}
|
||||
|
||||
QStringList Preferences::getSearchEngDisabled() const
|
||||
{
|
||||
return value("SearchEngines/disabledEngines").toStringList();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue