mirror of
https://github.com/KDE/konsole.git
synced 2026-05-04 04:33:38 -04:00
Missed from last commit. Use QFlags<Enum> instead of Enum where necessary.
svn path=/trunk/KDE/kdebase/apps/konsole/; revision=680120
This commit is contained in:
@@ -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 );
|
||||
keyEvent->modifiers(),
|
||||
states );
|
||||
|
||||
if ( !entry.isNull() )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user