Initialize member variables

This commit is contained in:
Chocobo1
2023-05-07 15:16:32 +08:00
parent 29c05ed3e8
commit 73134d5f4d
29 changed files with 49 additions and 64 deletions

View File

@@ -90,12 +90,12 @@ protected:
bool filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const override;
private:
bool m_isNameFilterEnabled;
bool m_isNameFilterEnabled = false;
QString m_searchTerm;
QStringList m_searchTermWords;
int m_minSeeds, m_maxSeeds;
int m_minLeeches, m_maxLeeches;
qint64 m_minSize, m_maxSize;
int m_minSeeds = 0, m_maxSeeds = -1;
int m_minLeeches = 0, m_maxLeeches = -1;
qint64 m_minSize = 0, m_maxSize = -1;
Utils::Compare::NaturalLessThan<Qt::CaseInsensitive> m_naturalLessThan;
};