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
e7c39720
Commit
e7c39720
authored
Aug 03, 2022
by
Pablo Rauzy
Committed by
Christoph Cullmann
Aug 14, 2022
Browse files
improve code quality
parent
76b948ad
Changes
2
Hide whitespace changes
Inline
Side-by-side
addons/keyboardmacros/keycombination.h
View file @
e7c39720
...
...
@@ -28,7 +28,7 @@ public:
,
modifiers
(
keyEvent
->
modifiers
())
,
text
(
keyEvent
->
text
()){};
explicit
KeyCombination
(
const
QJsonArray
json
)
explicit
KeyCombination
(
const
QJsonArray
&
json
)
{
Q_ASSERT
(
json
.
size
()
==
3
);
Q_ASSERT
(
json
.
at
(
0
).
type
()
==
QJsonValue
::
Double
);
...
...
addons/keyboardmacros/macro.h
View file @
e7c39720
...
...
@@ -20,7 +20,7 @@ public:
explicit
Macro
()
:
QList
<
KeyCombination
>
(){};
explicit
Macro
(
const
QJsonValue
json
)
explicit
Macro
(
const
QJsonValue
&
json
)
{
Q_ASSERT
(
json
.
type
()
==
QJsonValue
::
Array
);
QJsonArray
::
ConstIterator
it
;
...
...
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