mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-31 04:38:04 -06:00
Add option for regexps in the transferlist search filter's context menu
This commit is contained in:
committed by
sledgehammer999
parent
305d73180b
commit
052206efa1
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user