Browse Source

Merge pull request #7266 from Chocobo1/coverity

Fix issues found by coverity scan
adaptive-webui-19844
sledgehammer999 7 years ago committed by GitHub
parent
commit
8d913d77dd
  1. 2
      src/gui/fspathedit_p.cpp
  2. 1
      src/gui/search/searchtab.cpp
  3. 1
      src/gui/search/searchtab.h

2
src/gui/fspathedit_p.cpp

@ -42,6 +42,8 @@ Private::FileSystemPathValidator::FileSystemPathValidator(QObject *parent) @@ -42,6 +42,8 @@ Private::FileSystemPathValidator::FileSystemPathValidator(QObject *parent)
, m_directoriesOnly(false)
, m_checkReadPermission(false)
, m_checkWritePermission(false)
, m_lastTestResult(TestResult::DoesNotExist)
, m_lastValidationState(QValidator::Invalid)
{
}

1
src/gui/search/searchtab.cpp

@ -54,6 +54,7 @@ SearchTab::SearchTab(SearchWidget *parent) @@ -54,6 +54,7 @@ SearchTab::SearchTab(SearchWidget *parent)
: QWidget(parent)
, m_ui(new Ui::SearchTab())
, m_parent(parent)
, m_status(Status::NoResults)
{
m_ui->setupUi(this);

1
src/gui/search/searchtab.h

@ -110,7 +110,6 @@ private: @@ -110,7 +110,6 @@ private:
static CachedSettingValue<NameFilteringMode>& nameFilteringModeSetting();
Ui::SearchTab *m_ui;
QTreeView *m_resultsBrowser;
QStandardItemModel *m_searchListModel;
SearchSortModel *m_proxyModel;
SearchListDelegate *m_searchDelegate;

Loading…
Cancel
Save