mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-06 15:42:32 -06:00
Remove redundant initialization
This commit is contained in:
@@ -59,7 +59,6 @@ FileGuard::~FileGuard()
|
||||
TorrentFileGuard::TorrentFileGuard(const Path &path, const TorrentFileGuard::AutoDeleteMode mode)
|
||||
: FileGuard {mode != Never ? path : Path()}
|
||||
, m_mode {mode}
|
||||
, m_wasAdded {false}
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -62,8 +62,7 @@ TorrentFilter::TorrentFilter(const Type type, const std::optional<TorrentIDSet>
|
||||
|
||||
TorrentFilter::TorrentFilter(const QString &filter, const std::optional<TorrentIDSet> &idSet
|
||||
, const std::optional<QString> &category, const std::optional<QString> &tag)
|
||||
: m_type(All)
|
||||
, m_category(category)
|
||||
: m_category(category)
|
||||
, m_tag(tag)
|
||||
, m_idSet(idSet)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user