Fix a warning in snap build

This commit is contained in:
Ilya Fedin 2022-12-16 09:00:00 +04:00 committed by John Preston
parent 5289810b81
commit b3e547f4dd

View file

@ -110,7 +110,7 @@ QIcon IconGraphic::systemIcon(
base::IconName(),
};
for (const auto candidate : candidates) {
for (const auto &candidate : candidates) {
const auto icon = QIcon::fromTheme(candidate);
if (icon.name() == candidate) {
return icon;