Commit 4a79a65d authored by Laurent Montel's avatar Laurent Montel
Browse files

warning-- It's a uint

parent eab4561e
Pipeline #172766 passed with stage
in 10 minutes and 42 seconds
......@@ -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 (uint i = 0; i < change.itemsToRemoveCount; ++i) {
section.items.removeAt(change.changePosition); // TODO bounds check
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment