Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Utilities
Konsole
Commits
098629a3
Commit
098629a3
authored
Jun 25, 2007
by
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/KeyBindingEditor.cpp
View file @
098629a3
...
...
@@ -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
::
State
s
state
s
=
KeyboardTranslator
::
AnsiState
;
int
modifiers
=
keyEvent
->
modifiers
();
KeyboardTranslator
::
Entry
entry
=
_translator
->
findEntry
(
keyEvent
->
key
()
,
(
Qt
::
KeyboardModifier
)
modifiers
,
state
);
keyEvent
->
modifiers
(),
states
);
if
(
!
entry
.
isNull
()
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment