Browse Source

Initialize variables

Remove unused variable
adaptive-webui-19844
Chocobo1 7 years ago
parent
commit
91b2b14ba5
No known key found for this signature in database
GPG Key ID: 210D9C873253A68C
  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