Fix crash in uic regarding setting QIcon
Fix crash in uic regarding setting QIcon

The regression was intruduced in change 04c01e15.

Task: 252333
RevBy: Friedemann Kleint <1b9f2592239daaec4856ccc1cfb4d2d55b35fb71@nokia.com>

radekp/qt,KDE/qt,KDE/qt,KDE/qt,radekp/qt,KDE/qt,RLovelett/qt,pruiz/wkhtmltopdf-qt,RLovelett/qt,igor-sfdc/qt-wk,igor-sfdc/qt-wk,pruiz/wkhtmltopdf-qt,pruiz/wkhtmltopdf-qt,igor-sfdc/qt-wk,pruiz/wkhtmltopdf-qt,RLovelett/qt,igor-sfdc/qt-wk,igor-sfdc/qt-wk,radekp/qt,KDE/qt,RLovelett/qt,KDE/qt,pruiz/wkhtmltopdf-qt,radekp/qt,radekp/qt,KDE/qt,radekp/qt,RLovelett/qt,igor-sfdc/qt-wk,igor-sfdc/qt-wk,pruiz/wkhtmltopdf-qt,pruiz/wkhtmltopdf-qt,RLovelett/qt,radekp/qt,RLovelett/qt,radekp/qt,KDE/qt,RLovelett/qt,RLovelett/qt,pruiz/wkhtmltopdf-qt,radekp/qt,igor-sfdc/qt-wk,RLovelett/qt,pruiz/wkhtmltopdf-qt,pruiz/wkhtmltopdf-qt,radekp/qt,pruiz/wkhtmltopdf-qt,igor-sfdc/qt-wk,RLovelett/qt,igor-sfdc/qt-wk,igor-sfdc/qt-wk