mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-11 15:27:54 +00:00
Merge pull request #7266 from Chocobo1/coverity
Fix issues found by coverity scan
This commit is contained in:
commit
8d913d77dd
@ -42,6 +42,8 @@ Private::FileSystemPathValidator::FileSystemPathValidator(QObject *parent)
|
|||||||
, m_directoriesOnly(false)
|
, m_directoriesOnly(false)
|
||||||
, m_checkReadPermission(false)
|
, m_checkReadPermission(false)
|
||||||
, m_checkWritePermission(false)
|
, m_checkWritePermission(false)
|
||||||
|
, m_lastTestResult(TestResult::DoesNotExist)
|
||||||
|
, m_lastValidationState(QValidator::Invalid)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -54,6 +54,7 @@ SearchTab::SearchTab(SearchWidget *parent)
|
|||||||
: QWidget(parent)
|
: QWidget(parent)
|
||||||
, m_ui(new Ui::SearchTab())
|
, m_ui(new Ui::SearchTab())
|
||||||
, m_parent(parent)
|
, m_parent(parent)
|
||||||
|
, m_status(Status::NoResults)
|
||||||
{
|
{
|
||||||
m_ui->setupUi(this);
|
m_ui->setupUi(this);
|
||||||
|
|
||||||
|
@ -110,7 +110,6 @@ private:
|
|||||||
static CachedSettingValue<NameFilteringMode>& nameFilteringModeSetting();
|
static CachedSettingValue<NameFilteringMode>& nameFilteringModeSetting();
|
||||||
|
|
||||||
Ui::SearchTab *m_ui;
|
Ui::SearchTab *m_ui;
|
||||||
QTreeView *m_resultsBrowser;
|
|
||||||
QStandardItemModel *m_searchListModel;
|
QStandardItemModel *m_searchListModel;
|
||||||
SearchSortModel *m_proxyModel;
|
SearchSortModel *m_proxyModel;
|
||||||
SearchListDelegate *m_searchDelegate;
|
SearchListDelegate *m_searchDelegate;
|
||||||
|
Loading…
Reference in New Issue
Block a user