summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@trolltech.com>2009-05-19 16:15:32 +0200
committerJoerg Bornemann <joerg.bornemann@trolltech.com>2009-05-19 16:26:15 +0200
commitbff689f3c5b127add96c50e4b2fdb2eadbf498a9 (patch)
treeb1d82e77ee04ee50b24298ae58f46c0980ec0e5d /tests
parent9a512ee004535983e12a1dd38dc2e28eb35c1d5c (diff)
qwidget autotest fixed for Windows CE
translucentWidget: On Windows mobile the ColorRedWidget is initially moved to the taskbar position where it cannot be grabbed. Reviewed-by: mauricek
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qwidget/tst_qwidget.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/qwidget/tst_qwidget.cpp b/tests/auto/qwidget/tst_qwidget.cpp
index 5896df9f0d..5afaebf1f3 100644
--- a/tests/auto/qwidget/tst_qwidget.cpp
+++ b/tests/auto/qwidget/tst_qwidget.cpp
@@ -8371,6 +8371,7 @@ void tst_QWidget::translucentWidget()
ColorRedWidget label;
label.setFixedSize(16,16);
label.setAttribute(Qt::WA_TranslucentBackground);
+ label.move(qApp->desktop()->availableGeometry().topLeft());
label.show();
#ifdef Q_WS_X11
qt_x11_wait_for_window_manager(&label);