diff options
author | Cory Fields <cory-nospam-@coryfields.com> | 2018-06-15 13:38:54 -0400 |
---|---|---|
committer | Cory Fields <cory-nospam-@coryfields.com> | 2018-06-15 13:40:00 -0400 |
commit | 466e16e0e8523909f9968c5823691b1d4a3d8175 (patch) | |
tree | 13b29dab45a96166b084144cacf86396db8638fc /src/qt | |
parent | be27048a1842b76de5b230383c1466b72dfd8cc5 (diff) |
cleanup: avoid hidden copies in range-for loops
Diffstat (limited to 'src/qt')
-rw-r--r-- | src/qt/platformstyle.cpp | 2 |
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); |