diff --git a/src/gui/fspathedit_p.cpp b/src/gui/fspathedit_p.cpp index f03194d13..b86d680bc 100644 --- a/src/gui/fspathedit_p.cpp +++ b/src/gui/fspathedit_p.cpp @@ -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) { } diff --git a/src/gui/search/searchtab.cpp b/src/gui/search/searchtab.cpp index f4dfebc6a..786da6fd5 100644 --- a/src/gui/search/searchtab.cpp +++ b/src/gui/search/searchtab.cpp @@ -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); diff --git a/src/gui/search/searchtab.h b/src/gui/search/searchtab.h index c573deef3..4e03308e0 100644 --- a/src/gui/search/searchtab.h +++ b/src/gui/search/searchtab.h @@ -110,7 +110,6 @@ private: static CachedSettingValue& nameFilteringModeSetting(); Ui::SearchTab *m_ui; - QTreeView *m_resultsBrowser; QStandardItemModel *m_searchListModel; SearchSortModel *m_proxyModel; SearchListDelegate *m_searchDelegate;