aboutsummaryrefslogtreecommitdiff
path: root/src/qt/platformstyle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qt/platformstyle.cpp')
-rw-r--r--src/qt/platformstyle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/platformstyle.cpp b/src/qt/platformstyle.cpp
index fce71f661a..a3a10aac18 100644
--- a/src/qt/platformstyle.cpp
+++ b/src/qt/platformstyle.cpp
@@ -46,7 +46,7 @@ void MakeSingleColorImage(QImage& img, const QColor& colorbase)
QIcon ColorizeIcon(const QIcon& ico, const QColor& colorbase)
{
QIcon new_ico;
- for (const QSize sz : ico.availableSizes())
+ for (const QSize& sz : ico.availableSizes())
{
QImage img(ico.pixmap(sz).toImage());
MakeSingleColorImage(img, colorbase);