Commit dbf002c2 authored by Alex Neundorf's avatar Alex Neundorf

search plugin: no accelerator keys for the results tab

As discussed on the mailing list, they were stealing accelerators from
other buttons in the UI, e.g. Alt+N from Next.

Alex
parent 91dca122
......@@ -34,6 +34,7 @@
#include <ktexteditor/movingrange.h>
#include <ktexteditor/configinterface.h>
#include "kacceleratormanager.h"
#include <kaction.h>
#include <kactioncollection.h>
#include <klocale.h>
......@@ -233,6 +234,7 @@ m_projectPluginView(0)
connect(a, SIGNAL(triggered(bool)), this, SLOT(goToPreviousMatch()));
m_ui.resultTabWidget->tabBar()->setSelectionBehaviorOnRemove(QTabBar::SelectLeftTab);
KAcceleratorManager::setNoAccel(m_ui.resultTabWidget);
m_ui.displayOptions->setIcon(KIcon("arrow-down-double"));
m_ui.searchButton->setIcon(KIcon("edit-find"));
......
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