Fix icon loading in style sheets.
authorFriedemann Kleint <Friedemann.Kleint@nokia.com>
Mon, 27 Feb 2012 11:38:04 +0000 (12:38 +0100)
committerQt by Nokia <qt-info@nokia.com>
Mon, 27 Feb 2012 17:30:38 +0000 (18:30 +0100)
commit5a0eb4e768435b9ce32b074e620fca33be4df2fb
treebc98e9cfc155ffda26c1eee049e31d09e75710ac
parent3d3b3de83adf62b3dc4c76e8bfd178e3a4969d07
Fix icon loading in style sheets.

QIcon was moved to QtWidgets, while the parser is still in QtGui.
Introduce a QCss::IconValue struct that contains the icon data
and convert to QIcon in widgets.

Change-Id: I09ac8a12a4b02bdca91ee2e8fcc28c86b5a001e7
Reviewed-by: Morten Johan Sørvig <morten.sorvig@nokia.com>
src/gui/text/qcssparser.cpp
src/gui/text/qcssparser_p.h
src/widgets/styles/qstylesheetstyle.cpp