mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-19 04:49:47 -07:00
Merge pull request #7266 from Chocobo1/coverity
Fix issues found by coverity scan
This commit is contained in:
commit
8d913d77dd
3 changed files with 3 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue