diff options
author | Thierry Bastian <thierry.bastian@nokia.com> | 2010-09-01 18:01:09 +0200 |
---|---|---|
committer | Thierry Bastian <thierry.bastian@nokia.com> | 2010-09-01 18:03:26 +0200 |
commit | 068e9ddcce8adbf64e5a75f25754fd56d01f7eff (patch) | |
tree | 26157348bbb8e3a26304b4a8860f432403a864c3 /tests/auto/qgraphicsitem | |
parent | b1dac845f2243d418e6a6b640fa124834655103d (diff) | |
download | qt4-tools-068e9ddcce8adbf64e5a75f25754fd56d01f7eff.tar.gz |
Build fix on Solaris for an autotest
Task-number: QTBUG-12993
Reviewed-by: Trust-Me
Diffstat (limited to 'tests/auto/qgraphicsitem')
-rw-r--r-- | tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp b/tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp index 3634ce990a..4476084562 100644 --- a/tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp +++ b/tests/auto/qgraphicsitem/tst_qgraphicsitem.cpp @@ -4578,7 +4578,7 @@ void tst_QGraphicsItem::itemChange() QCOMPARE(tester.changes.at(tester.changes.size() - 1), QGraphicsItem::ItemFlagsHaveChanged); QVariant expectedFlags = qVariantFromValue<quint32>(QGraphicsItem::GraphicsItemFlags(QGraphicsItem::ItemIsSelectable | QGraphicsItem::ItemSendsGeometryChanges)); QCOMPARE(tester.values.at(tester.values.size() - 2), expectedFlags); - QCOMPARE(tester.values.at(tester.values.size() - 1), qVariantFromValue<quint32>(QGraphicsItem::ItemIsSelectable)); + QCOMPARE(tester.values.at(tester.values.size() - 1), qVariantFromValue<quint32>((quint32)QGraphicsItem::ItemIsSelectable)); } { // ItemSelectedChange |