qt5base-lts/tests/auto/gui/kernel/qguivariant/test
Jędrzej Nowacki 2e00500b9f Fix conversion QVariant(QColor) to QString.
QVariant was using QColor::name() to convert a color to string, which by
default loses alpha value. The patch is fixing the problem by always
including the alpha value in the string when required.

[ChangeLog][Core][Variant] QVariant(QColor)::toString() uses
QColor::HexArgb format when the alpha component is different from 1.

Task-number: QTBUG-37851
Change-Id: I887460c1ea151180ba99d64dd873ba9d6e2268f2
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
2015-11-30 12:10:49 +00:00
..
data Account for QPolygonF type when loading/saving the QVariant 2013-10-15 08:14:48 +02:00
stream Split the QGuiVariant test from the Core one. 2012-07-25 00:48:33 +02:00
black2.png Compare QIcon QVariants by their cache key 2013-10-09 13:15:54 +02:00
black.png Compare QIcon QVariants by their cache key 2013-10-09 13:15:54 +02:00
qguivariant.qrc Account for QPolygonF type when loading/saving the QVariant 2013-10-15 08:14:48 +02:00
test.pro Merge remote-tracking branch 'origin/stable' into dev 2013-10-24 12:48:42 +02:00
tst_qguivariant.cpp Fix conversion QVariant(QColor) to QString. 2015-11-30 12:10:49 +00:00
tst_qguivariant.qrc Compare QIcon QVariants by their cache key 2013-10-09 13:15:54 +02:00