summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-10-27 14:05:22 (GMT)
committerDenis Dzyubenko <denis.dzyubenko@nokia.com>2009-10-27 14:21:39 (GMT)
commite5c87d92fa6380c13ff47ce1fe6d85a02dc92794 (patch)
treeb715c19b94ea5f562167bdd165b69d9f6fb26138 /tests
parent124df35db0be3ae7578635735b4e64c589d07cba (diff)
downloadQt-e5c87d92fa6380c13ff47ce1fe6d85a02dc92794.zip
Qt-e5c87d92fa6380c13ff47ce1fe6d85a02dc92794.tar.gz
Qt-e5c87d92fa6380c13ff47ce1fe6d85a02dc92794.tar.bz2
Improved gesture autotest reliability on X11.
Reviewed-by: trustme
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/gestures/tst_gestures.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/gestures/tst_gestures.cpp b/tests/auto/gestures/tst_gestures.cpp
index 6e52de3..edfbf32 100644
--- a/tests/auto/gestures/tst_gestures.cpp
+++ b/tests/auto/gestures/tst_gestures.cpp
@@ -715,6 +715,7 @@ void tst_Gestures::graphicsItemGesture()
{
QGraphicsScene scene;
QGraphicsView view(&scene);
+ view.setWindowFlags(Qt::X11BypassWindowManagerHint);
GestureItem *item = new GestureItem("item");
scene.addItem(item);
@@ -777,6 +778,7 @@ void tst_Gestures::graphicsItemTreeGesture()
{
QGraphicsScene scene;
QGraphicsView view(&scene);
+ view.setWindowFlags(Qt::X11BypassWindowManagerHint);
GestureItem *item1 = new GestureItem("item1");
item1->setPos(100, 100);
@@ -834,6 +836,7 @@ void tst_Gestures::explicitGraphicsObjectTarget()
{
QGraphicsScene scene;
QGraphicsView view(&scene);
+ view.setWindowFlags(Qt::X11BypassWindowManagerHint);
GestureItem *item1 = new GestureItem("item1");
scene.addItem(item1);
@@ -887,6 +890,7 @@ void tst_Gestures::gestureOverChildGraphicsItem()
{
QGraphicsScene scene;
QGraphicsView view(&scene);
+ view.setWindowFlags(Qt::X11BypassWindowManagerHint);
GestureItem *item0 = new GestureItem("item0");
scene.addItem(item0);
@@ -1168,6 +1172,7 @@ void tst_Gestures::testMapToScene()
QGraphicsScene scene;
QGraphicsView view(&scene);
+ view.setWindowFlags(Qt::X11BypassWindowManagerHint);
GestureItem *item0 = new GestureItem;
scene.addItem(item0);