summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@nokia.com>2011-12-12 10:47:46 +0100
committerEike Ziller <eike.ziller@nokia.com>2011-12-13 15:22:28 +0100
commit5f6349907ce01d10329a3c2a3da5d676ba37d8e6 (patch)
tree32d767999c3214bea630bc65ab3d1f389331f390
parente08f51c21c2441b34b6560a18d29fdb0c8048199 (diff)
downloadqt-creator-5f6349907ce01d10329a3c2a3da5d676ba37d8e6.tar.gz
Removed unused method.
Change-Id: I7af620a98ef311a50a5191071cbc13aec0532255 Reviewed-by: Leandro Melo <leandro.melo@nokia.com>
-rw-r--r--src/plugins/find/searchresultwidget.cpp14
-rw-r--r--src/plugins/find/searchresultwidget.h1
2 files changed, 0 insertions, 15 deletions
diff --git a/src/plugins/find/searchresultwidget.cpp b/src/plugins/find/searchresultwidget.cpp
index 556bd2409b..11195b35d5 100644
--- a/src/plugins/find/searchresultwidget.cpp
+++ b/src/plugins/find/searchresultwidget.cpp
@@ -454,20 +454,6 @@ void SearchResultWidget::finishSearch()
m_cancelButton->setVisible(false);
}
-void SearchResultWidget::clear()
-{
- m_replaceTextEdit->setEnabled(false);
- m_replaceButton->setEnabled(false);
- m_replaceTextEdit->clear();
- m_searchResultTreeView->clear();
- m_count = 0;
- m_label->setVisible(false);
- m_searchTerm->setVisible(false);
- m_cancelButton->setVisible(false);
- updateMatchesFoundLabel();
- m_infoBar.clear();
-}
-
void SearchResultWidget::hideNoUndoWarning()
{
setShowWarningMessage(false);
diff --git a/src/plugins/find/searchresultwidget.h b/src/plugins/find/searchresultwidget.h
index 5064257307..6fde4e6c38 100644
--- a/src/plugins/find/searchresultwidget.h
+++ b/src/plugins/find/searchresultwidget.h
@@ -85,7 +85,6 @@ public:
public slots:
void finishSearch();
- void clear();
signals:
void activated(const Find::SearchResultItem &item);