Fix the conversion of a colour from a string.
authorThiago Macieira <thiago.macieira@intel.com>
Thu, 20 Oct 2011 08:51:09 +0000 (10:51 +0200)
committerQt by Nokia <qt-info@nokia.com>
Tue, 3 Apr 2012 10:47:58 +0000 (12:47 +0200)
commit240a3cd360309c5d525b635e40b12697deca6c0e
treea451b3853539069a097ea39d5a855446c6f73460
parent6793121396ca34ea6c2cbb0567ce0cd605a31acc
Fix the conversion of a colour from a string.

Don't assume it's HSL just because it isn't RGB.

This error was found by GCC's set-but-unused warning.

Change-Id: Ie22e1509892163fccb3868fe8ff7091dc7bf5091
Reviewed-by: Yunqiao Yin <charles.yin@nokia.com>
src/quick/items/context2d/qquickcontext2d.cpp