summaryrefslogtreecommitdiffstats
path: root/tests/manual/qgraphicsitemgroup
diff options
context:
space:
mode:
authorKevin Funk <kevin.funk@kdab.com>2012-09-10 11:08:37 +0200
committerQt by Nokia <qt-info@nokia.com>2012-09-10 14:09:45 +0200
commite78e7d325b85a96851615ae0199d3465b5d394c3 (patch)
treec1f54540dddfb90d075391b95a9412902b853a35 /tests/manual/qgraphicsitemgroup
parent1ea00124f77df1753b3d881810bbed181bbc6fc6 (diff)
Fix build of tests/ on Windows CE
Remove some subprojects that have missing dependencies or use API that is non-available on Windows CE. Change-Id: Iad7118b95a691a433c3f798d56a6a069e5e41917 Reviewed-by: Qt Doc Bot <qt_docbot@qt-project.org> Reviewed-by: Andreas Holzammer <andreas.holzammer@kdab.com> Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Diffstat (limited to 'tests/manual/qgraphicsitemgroup')
-rw-r--r--tests/manual/qgraphicsitemgroup/customitem.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/manual/qgraphicsitemgroup/customitem.cpp b/tests/manual/qgraphicsitemgroup/customitem.cpp
index eab218e9a0..f0bc74db68 100644
--- a/tests/manual/qgraphicsitemgroup/customitem.cpp
+++ b/tests/manual/qgraphicsitemgroup/customitem.cpp
@@ -51,7 +51,7 @@ QList<CustomGroup*> CustomScene::selectedCustomGroups() const
QList<CustomGroup*> groups;
foreach (QGraphicsItem *item, all) {
- CustomGroup* group = dynamic_cast<CustomGroup*>(item);
+ CustomGroup* group = qgraphicsitem_cast<CustomGroup*>(item);
if (group)
groups.append(group);
}
@@ -65,7 +65,7 @@ QList<CustomItem*> CustomScene::selectedCustomItems() const
QList<CustomItem*> items;
foreach (QGraphicsItem *item, all) {
- CustomItem* citem = dynamic_cast<CustomItem*>(item);
+ CustomItem* citem = qgraphicsitem_cast<CustomItem*>(item);
if (citem)
items.append(citem);
}