Commit c0df718e authored by Christoph Cullmann's avatar Christoph Cullmann 🐮
Browse files

let console eat shortcuts again

we can't senseful match against QKeySequences of the terminal plugin actions
BUG: 157523
BUG: 309723
parent 2627ac31
......@@ -213,12 +213,12 @@ void KateConsole::slotDestroyed ()
}
}
void KateConsole::overrideShortcut (QKeyEvent *event, bool &override)
void KateConsole::overrideShortcut (QKeyEvent *, bool &override)
{
/**
* let konsole only handle ESC
* let konsole handle all shortcuts
*/
override = (event->key() == Qt::Key_Escape);
override = true;
}
void KateConsole::showEvent(QShowEvent *)
......
......@@ -98,12 +98,12 @@ void KateProjectInfoViewTerminal::loadTerminal ()
this, SLOT(overrideShortcut(QKeyEvent*,bool&)));
}
void KateProjectInfoViewTerminal::overrideShortcut (QKeyEvent *event, bool &override)
void KateProjectInfoViewTerminal::overrideShortcut (QKeyEvent *, bool &override)
{
/**
* let konsole only handle ESC
* let konsole handle all shortcuts
*/
override = (event->key() == Qt::Key_Escape);
override = true;
}
// kate: space-indent on; indent-width 2; replace-tabs on;
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