From d3de8bb386c984a2cf24f233159ce77da185d192 Mon Sep 17 00:00:00 2001 From: Nikita Baryshnikov Date: Tue, 17 Feb 2015 13:58:09 +0300 Subject: [PATCH] Locator: small clean up Change-Id: I748ed068af3f698e256505c547e16480a26b57b9 Reviewed-by: Eike Ziller --- src/plugins/coreplugin/locator/filesystemfilter.cpp | 1 - src/plugins/coreplugin/locator/locatorwidget.cpp | 5 ----- src/plugins/coreplugin/locator/locatorwidget.h | 2 -- 3 files changed, 8 deletions(-) diff --git a/src/plugins/coreplugin/locator/filesystemfilter.cpp b/src/plugins/coreplugin/locator/filesystemfilter.cpp index 310414b4829..211cf535ca1 100644 --- a/src/plugins/coreplugin/locator/filesystemfilter.cpp +++ b/src/plugins/coreplugin/locator/filesystemfilter.cpp @@ -36,7 +36,6 @@ #include -using namespace Core; using namespace Core; using namespace Core::Internal; diff --git a/src/plugins/coreplugin/locator/locatorwidget.cpp b/src/plugins/coreplugin/locator/locatorwidget.cpp index 7c42ed6202a..0f3bca6a0ad 100644 --- a/src/plugins/coreplugin/locator/locatorwidget.cpp +++ b/src/plugins/coreplugin/locator/locatorwidget.cpp @@ -623,11 +623,6 @@ void LocatorWidget::filterSelected() m_fileLineEdit->setFocus(); } -void LocatorWidget::showEvent(QShowEvent *event) -{ - QWidget::showEvent(event); -} - void LocatorWidget::showConfigureDialog() { ICore::showOptionsDialog(Constants::SETTINGS_CATEGORY_CORE, Constants::FILTER_OPTIONS_PAGE); diff --git a/src/plugins/coreplugin/locator/locatorwidget.h b/src/plugins/coreplugin/locator/locatorwidget.h index 5dd597cb133..312fb0b363a 100644 --- a/src/plugins/coreplugin/locator/locatorwidget.h +++ b/src/plugins/coreplugin/locator/locatorwidget.h @@ -79,8 +79,6 @@ private slots: private: bool eventFilter(QObject *obj, QEvent *event); - void showEvent(QShowEvent *e); - void showCompletionList(); void updateCompletionList(const QString &text); QList filtersFor(const QString &text, QString &searchText);