Fix alpha being ignored in Text element
authorGlenn Watson <glenn.watson@nokia.com>
Thu, 7 Jun 2012 00:06:14 +0000 (10:06 +1000)
committerQt by Nokia <qt-info@nokia.com>
Thu, 7 Jun 2012 00:12:27 +0000 (02:12 +0200)
commitc7ad506a4e46d3b3a2d3f6235e5c7df69b027311
tree232b0630ccfee61f96145e53bcfbd5d052121e08
parentd65688b8328b31b8554ccedab8c8a792b530ee4e
Fix alpha being ignored in Text element

The text element was using the implicit constructor to convert
QRgb -> QColor which ignores alpha. Use the explicit conversion.

Change-Id: I7975ffeab8b423716b9655776f38b0ca2f282cd0
Reviewed-by: Andrew den Exter <andrew.den-exter@nokia.com>
src/quick/items/qquicktext.cpp