summaryrefslogtreecommitdiffstats
path: root/tests/auto/qwidget/tst_qwidget.cpp
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@trolltech.com>2009-05-19 14:15:32 (GMT)
committerJoerg Bornemann <joerg.bornemann@trolltech.com>2009-05-19 14:26:15 (GMT)
commitbff689f3c5b127add96c50e4b2fdb2eadbf498a9 (patch)
treeb1d82e77ee04ee50b24298ae58f46c0980ec0e5d /tests/auto/qwidget/tst_qwidget.cpp
parent9a512ee004535983e12a1dd38dc2e28eb35c1d5c (diff)
downloadQt-bff689f3c5b127add96c50e4b2fdb2eadbf498a9.zip
Qt-bff689f3c5b127add96c50e4b2fdb2eadbf498a9.tar.gz
Qt-bff689f3c5b127add96c50e4b2fdb2eadbf498a9.tar.bz2
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/auto/qwidget/tst_qwidget.cpp')
-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 5896df9..5afaebf 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);