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
Plasma
Plasma Workspace
Commits
4a79a65d
Commit
4a79a65d
authored
May 07, 2022
by
Laurent Montel
Browse files
warning-- It's a uint
parent
eab4561e
Pipeline
#172766
passed with stage
in 10 minutes and 42 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
gmenu-dbusmenu-proxy/menu.cpp
View file @
4a79a65d
...
...
@@ -215,7 +215,7 @@ void Menu::onMenuChanged(const GMenuChangeList &changes)
dirtyItems
.
append
(
Utils
::
treeStructureToInt
(
change
.
subscription
,
change
.
menu
,
change
.
changePosition
+
i
+
1
));
}
}
else
{
for
(
int
i
=
0
;
i
<
change
.
itemsToRemoveCount
;
++
i
)
{
for
(
u
int
i
=
0
;
i
<
change
.
itemsToRemoveCount
;
++
i
)
{
section
.
items
.
removeAt
(
change
.
changePosition
);
// TODO bounds check
}
...
...
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