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
b68990a3
Commit
b68990a3
authored
Aug 09, 2022
by
Pablo Rauzy
Committed by
Christoph Cullmann
Aug 14, 2022
Browse files
improve code quality: Minor - Function parameter 'text' should be passed by const reference.
parent
e7f829b1
Changes
1
Hide whitespace changes
Inline
Side-by-side
addons/keyboardmacros/keycombination.h
View file @
b68990a3
...
...
@@ -24,7 +24,7 @@ private:
public:
KeyCombination
(){};
KeyCombination
(
const
int
key
,
const
Qt
::
KeyboardModifiers
modifiers
,
const
QString
text
)
KeyCombination
(
const
int
key
,
const
Qt
::
KeyboardModifiers
modifiers
,
const
QString
&
text
)
:
m_key
(
key
)
,
m_modifiers
(
modifiers
)
,
m_text
(
text
){};
...
...
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