mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-12 08:16:16 -07:00
Merge pull request #9255 from thalieht/filterRegex
Add option to use regexps in the transfer list's search filter's context menu
This commit is contained in:
commit
a3172590d0
5 changed files with 36 additions and 2 deletions
|
@ -1509,6 +1509,16 @@ void Preferences::setTransHeaderState(const QByteArray &state)
|
|||
setValue("TransferList/qt5/HeaderState", state);
|
||||
}
|
||||
|
||||
bool Preferences::getRegexAsFilteringPattern() const
|
||||
{
|
||||
return value("TransferList/UseRegexAsFilteringPattern", false).toBool();
|
||||
}
|
||||
|
||||
void Preferences::setRegexAsFilteringPattern(const bool checked)
|
||||
{
|
||||
setValue("TransferList/UseRegexAsFilteringPattern", checked);
|
||||
}
|
||||
|
||||
// From old RssSettings class
|
||||
bool Preferences::isRSSWidgetEnabled() const
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue