changeset 1 | f7ac710697a9 |
parent 0 | 16d8024aca5e |
child 2 | 06ff229162e9 |
--- a/src/hbcore/image/hbiconimplcreator_p.cpp Mon Apr 19 14:02:13 2010 +0300 +++ b/src/hbcore/image/hbiconimplcreator_p.cpp Mon May 03 12:48:33 2010 +0300 @@ -76,10 +76,10 @@ default: break; } - - if (iconImpl) { - iconImpl->setColor(params.color); - } + + if (iconImpl && params.color.isValid()){ + iconImpl->setColor(params.color); + } return iconImpl; }