fix some warnings

This commit is contained in:
Megamouse 2020-09-04 13:22:21 +02:00
parent c39ad1ee12
commit fee96ec92d
5 changed files with 9 additions and 6 deletions

View file

@ -399,7 +399,7 @@ namespace gui
{
bool match = true;
for (const auto [role, data] : criteria)
for (const auto& [role, data] : criteria)
{
if (item->data(0, role) != data)
{