mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-08-12 06:33:59 +00:00
Fix a warning in snap build
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user