mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-13 22:24:05 +01:00
Small preparations for Q_FOREACH, PAIRTYPE and #include <boost/foreach.hpp> removal
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user