diff options
Diffstat (limited to 'tests/manual')
-rw-r--r-- | tests/manual/manual.pro | 5 | ||||
-rw-r--r-- | tests/manual/qgraphicsitemgroup/customitem.cpp | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/tests/manual/manual.pro b/tests/manual/manual.pro index e4e99ea30f..42f753a553 100644 --- a/tests/manual/manual.pro +++ b/tests/manual/manual.pro @@ -33,3 +33,8 @@ windowmodality \ widgetgrab !contains(QT_CONFIG, openssl):!contains(QT_CONFIG, openssl-linked):SUBDIRS -= qssloptions + +# disable some tests on wince because of missing dependencies +wince*:SUBDIRS -= \ + lance windowmodality \ + network_remote_stresstest network_stresstest 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); } |