aboutsummaryrefslogtreecommitdiff
path: root/src/qt/platformstyle.cpp
diff options
context:
space:
mode:
authorJorge Timón <jtimon@jtimon.cc>2017-06-01 22:22:33 +0200
committerJorge Timón <jtimon@jtimon.cc>2017-06-05 20:02:30 +0200
commita5410ac5ece4ef4d52eab07201c5f6c6c4501921 (patch)
tree996900e1990d9c06ef3312c90713bdd30b481faa /src/qt/platformstyle.cpp
parent9fec4da0bec93a49798b5f5e92cf76e900759ee4 (diff)
Small preparations for Q_FOREACH, PAIRTYPE and #include <boost/foreach.hpp> removal
Diffstat (limited to 'src/qt/platformstyle.cpp')
-rw-r--r--src/qt/platformstyle.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/qt/platformstyle.cpp b/src/qt/platformstyle.cpp
index 90bd619c04..64a0d0058c 100644
--- a/src/qt/platformstyle.cpp
+++ b/src/qt/platformstyle.cpp
@@ -48,8 +48,7 @@ void MakeSingleColorImage(QImage& img, const QColor& colorbase)
QIcon ColorizeIcon(const QIcon& ico, const QColor& colorbase)
{
QIcon new_ico;
- QSize sz;
- Q_FOREACH(sz, ico.availableSizes())
+ Q_FOREACH(const QSize sz, ico.availableSizes())
{
QImage img(ico.pixmap(sz).toImage());
MakeSingleColorImage(img, colorbase);