diff -r 16d8024aca5e -r f7ac710697a9 src/hbcore/image/hbiconimplcreator_p.cpp --- 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; }