Commit 3dd2e697 authored by Michael Pyne's avatar Michael Pyne

Disable auto-accelerator on search lineedit above playlist.

The accelerator which is automatically added doesn't work anyways so no
reason to taunt the user. Also, the F6 key has worked for years to focus
the same field.

CCBUG:347063
parent e6f8248f
......@@ -24,6 +24,7 @@
#include <kdebug.h>
#include <ktoggleaction.h>
#include <kconfiggroup.h>
#include <kacceleratormanager.h>
#include <QEvent>
#include <QVBoxLayout>
......@@ -234,6 +235,10 @@ void PlaylistSplitter::setupLayout()
// Create the search widget -- this must be done after the CollectionList is created.
m_searchWidget = new SearchWidget(top);
// auto-shortcuts don't seem to work and aren't needed anyway.
KAcceleratorManager::setNoAccel(m_searchWidget);
connect(m_searchWidget, SIGNAL(signalQueryChanged()),
this, SLOT(slotShowSearchResults()));
connect(m_searchWidget, SIGNAL(signalDownPressed()),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment