Remove duplicated slot

The slot DolphinViewContainer::focusView(), introduced in commit
2f0114730d, is actually unnecessary
because DolphinViewContainer::requestFocus() provides the same
functionality already.
This commit is contained in:
Frank Reininghaus 2013-03-07 22:56:52 +01:00
parent d784577562
commit 25b44f6b8c
2 changed files with 1 additions and 12 deletions

View file

@ -159,7 +159,7 @@ DolphinViewContainer::DolphinViewContainer(const KUrl& url, QWidget* parent) :
connect(m_filterBar, SIGNAL(closeRequest()),
this, SLOT(closeFilterBar()));
connect(m_filterBar, SIGNAL(focusViewRequest()),
this, SLOT(focusView()));
this, SLOT(requestFocus()));
connect(m_view, SIGNAL(urlChanged(KUrl)),
m_filterBar, SLOT(clear()));
@ -386,12 +386,6 @@ void DolphinViewContainer::setFilterBarVisible(bool visible)
}
}
void DolphinViewContainer::focusView()
{
Q_ASSERT(m_view);
m_view->setFocus();
}
void DolphinViewContainer::delayedStatusBarUpdate()
{
if (m_statusBarTimer->isActive() && (m_statusBarTimestamp.elapsed() > 2000)) {

View file

@ -147,11 +147,6 @@ public slots:
*/
void setFilterBarVisible(bool visible);
/**
* Sets focus to the item view.
*/
void focusView();
signals:
/**
* Is emitted whenever the filter bar has changed its visibility state.