Commit 098629a3 authored by Robert Knight's avatar Robert Knight
Browse files

Missed from last commit. Use QFlags<Enum> instead of Enum where necessary.

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=680120
parent 4a35037a
......@@ -119,11 +119,11 @@ bool KeyBindingEditor::eventFilter( QObject* watched , QEvent* event )
// area, but preferably not in a way which clutters the UI with lots of
// checkboxes.
const KeyboardTranslator::State state = KeyboardTranslator::AnsiState;
const KeyboardTranslator::States states = KeyboardTranslator::AnsiState;
int modifiers = keyEvent->modifiers();
KeyboardTranslator::Entry entry = _translator->findEntry( keyEvent->key() ,
(Qt::KeyboardModifier)modifiers, state );
states );
if ( !entry.isNull() )
Supports Markdown
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