1
0
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:
sledgehammer999 2017-08-13 20:10:04 +03:00 committed by GitHub
commit 8d913d77dd
3 changed files with 3 additions and 1 deletions

View File

@ -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)
{ {
} }

View File

@ -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);

View File

@ -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;