mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-29 19:18:42 -07:00
Improve function interface
`SettingsStorage` methods require `QString` so make `SettingValue` follow it. `Path::operator+` can use `QStringView` to accept wider audience.
This commit is contained in:
parent
11cfe38d1c
commit
c6b772da11
33 changed files with 222 additions and 239 deletions
|
@ -98,9 +98,9 @@ QString computeSmartFilterRegex(const QStringList &filters)
|
|||
}
|
||||
|
||||
AutoDownloader::AutoDownloader()
|
||||
: m_storeProcessingEnabled("RSS/AutoDownloader/EnableProcessing", false)
|
||||
, m_storeSmartEpisodeFilter("RSS/AutoDownloader/SmartEpisodeFilter")
|
||||
, m_storeDownloadRepacks("RSS/AutoDownloader/DownloadRepacks")
|
||||
: m_storeProcessingEnabled(u"RSS/AutoDownloader/EnableProcessing"_qs, false)
|
||||
, m_storeSmartEpisodeFilter(u"RSS/AutoDownloader/SmartEpisodeFilter"_qs)
|
||||
, m_storeDownloadRepacks(u"RSS/AutoDownloader/DownloadRepacks"_qs)
|
||||
, m_processingTimer(new QTimer(this))
|
||||
, m_ioThread(new QThread(this))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue