Warning removed

This commit is contained in:
Bertrand Songis
2020-06-19 12:41:48 +02:00
parent 5053b702e1
commit a11e8799e5
+1 -1
View File
@@ -65,7 +65,7 @@ void MenuBody::onEvent(event_t event)
bool MenuBody::onTouchEnd(coord_t /*x*/, coord_t y)
{
int index = y / MENUS_LINE_HEIGHT;
if (index < lines.size()) {
if (index < (int)lines.size()) {
lines[index].onPress();
}
getParent()->getParent()->deleteLater();