diff options
| author | Peter Penz <[email protected]> | 2012-05-10 22:40:51 +0200 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2012-05-10 22:45:12 +0200 |
| commit | 4fad8f8f530211839f431819031327275240f7f6 (patch) | |
| tree | 04530ad1ff2ef82776846caec1a2565bee52c0c5 /src/dolphinviewcontainer.cpp | |
| parent | b983b7d2daa98c17a4263971ce2abf5b3b6fa84f (diff) | |
Reimplement search-filters
BUG: 270721
BUG: 280377
FIXED-IN: 4.9.0
Diffstat (limited to 'src/dolphinviewcontainer.cpp')
| -rw-r--r-- | src/dolphinviewcontainer.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/dolphinviewcontainer.cpp b/src/dolphinviewcontainer.cpp index 5f8b8f3b4..51f2b4218 100644 --- a/src/dolphinviewcontainer.cpp +++ b/src/dolphinviewcontainer.cpp @@ -90,7 +90,7 @@ DolphinViewContainer::DolphinViewContainer(const KUrl& url, QWidget* parent) : m_searchBox = new DolphinSearchBox(this); m_searchBox->hide(); connect(m_searchBox, SIGNAL(closeRequest()), this, SLOT(closeSearchBox())); - connect(m_searchBox, SIGNAL(search(QString)), this, SLOT(startSearching(QString))); + connect(m_searchBox, SIGNAL(searchRequest()), this, SLOT(startSearching())); connect(m_searchBox, SIGNAL(returnPressed(QString)), this, SLOT(requestFocus())); m_messageWidget = new KMessageWidget(this); @@ -585,9 +585,8 @@ void DolphinViewContainer::slotHistoryChanged() } } -void DolphinViewContainer::startSearching(const QString &text) +void DolphinViewContainer::startSearching() { - Q_UNUSED(text); const KUrl url = m_searchBox->urlForSearching(); if (url.isValid() && !url.isEmpty()) { m_urlNavigator->setLocationUrl(url); |
