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
Kate
Commits
5e5bad7b
Commit
5e5bad7b
authored
Aug 01, 2022
by
Pablo Rauzy
Committed by
Christoph Cullmann
Aug 14, 2022
Browse files
improve code quality: Minor - Parameter 'kc' can be declared with const
parent
67a9156c
Changes
1
Hide whitespace changes
Inline
Side-by-side
addons/keyboardmacros/keyboardmacrosplugin.h
View file @
5e5bad7b
...
...
@@ -35,7 +35,7 @@ public:
{
return
new
QKeyEvent
(
QEvent
::
KeyRelease
,
key
,
modifiers
,
text
);
};
friend
QDebug
operator
<<
(
QDebug
dbg
,
KeyCombination
&
kc
)
friend
QDebug
operator
<<
(
QDebug
dbg
,
const
KeyCombination
&
kc
)
{
return
dbg
<<
QKeySequence
(
kc
.
key
|
kc
.
modifiers
).
toString
();
};
...
...
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