From a87760d22c0213306380322ec6d9e23809ee4c93 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Thu, 12 Nov 2009 23:18:21 +0000 Subject: move the search-button from the toolbar into the configurator widget svn path=/trunk/KDE/kdebase/apps/; revision=1048239 --- src/search/dolphinsearchbox.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/search/dolphinsearchbox.cpp') diff --git a/src/search/dolphinsearchbox.cpp b/src/search/dolphinsearchbox.cpp index c9a86111f..9f228140b 100644 --- a/src/search/dolphinsearchbox.cpp +++ b/src/search/dolphinsearchbox.cpp @@ -236,7 +236,6 @@ void DolphinSearchCompleter::highlighted(const QModelIndex& index) DolphinSearchBox::DolphinSearchBox(QWidget* parent) : QWidget(parent), m_searchInput(0), - m_searchButton(0), m_completer(0) { QHBoxLayout* hLayout = new QHBoxLayout(this); @@ -251,14 +250,6 @@ DolphinSearchBox::DolphinSearchBox(QWidget* parent) : hLayout->addWidget(m_searchInput); connect(m_searchInput, SIGNAL(returnPressed()), this, SLOT(emitSearchSignal())); - - m_searchButton = new QToolButton(this); - m_searchButton->setAutoRaise(true); - m_searchButton->setIcon(KIcon("edit-find")); - m_searchButton->setToolTip(i18nc("@info:tooltip", "Click to begin the search")); - hLayout->addWidget(m_searchButton); - connect(m_searchButton, SIGNAL(clicked()), - this, SLOT(emitSearchSignal())); } DolphinSearchBox::~DolphinSearchBox() -- cgit v1.3