From 5f6349907ce01d10329a3c2a3da5d676ba37d8e6 Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Mon, 12 Dec 2011 10:47:46 +0100 Subject: Removed unused method. Change-Id: I7af620a98ef311a50a5191071cbc13aec0532255 Reviewed-by: Leandro Melo --- src/plugins/find/searchresultwidget.cpp | 14 -------------- src/plugins/find/searchresultwidget.h | 1 - 2 files changed, 15 deletions(-) (limited to 'src/plugins/find') 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); -- cgit v1.2.1