path: root/dist
diff options
authorJędrzej Nowacki <>2012-04-13 14:52:34 +0200
committerQt by Nokia <>2012-04-19 10:09:39 +0200
commitff55d64f6788563a6ef9da2b6d0b6dc23bb936aa (patch)
tree127307cf68730ea4b133c4563c9048cf9750c65f /dist
parent10c88faf79de45f86a0826d104e202b4e12eba6b (diff)
Remove QVariant constructor taking Qt::GlobalColor.
The constructor is wrong, it creates instance of QVariant encapsulating a QColor instance. QVariant should not implicitly convert data, never. Change-Id: Idc794ecdecb42d8b53fee3f993bf51ddd43f595d Reviewed-by: Lars Knoll <>
Diffstat (limited to 'dist')
1 files changed, 6 insertions, 0 deletions
diff --git a/dist/changes-5.0.0 b/dist/changes-5.0.0
index d3ea3fbcb3..9cef238cff 100644
--- a/dist/changes-5.0.0
+++ b/dist/changes-5.0.0
@@ -68,6 +68,12 @@ information about a particular change.
method returns void is to compare the return value of QMetaMethod::returnType()
to QMetaType::Void.
+- QVariant:
+ * Inconsistent constructor taking Qt::GlobalColor and producing QVariant(QColor)
+ instance was removed. Code constructing such variants can be migrated by
+ explicitly calling QColor constructor. For example from "QVariant(Qt::red)"
+ to "QVariant(QColor(Qt::red))"
- QTestLib:
* The plain-text, xml and lightxml test output formats have been changed to
show a test result for every row of test data in data-driven tests. In