diff options
author | Joerg Bornemann <joerg.bornemann@trolltech.com> | 2009-05-19 14:15:32 (GMT) |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@trolltech.com> | 2009-05-19 14:26:15 (GMT) |
commit | bff689f3c5b127add96c50e4b2fdb2eadbf498a9 (patch) | |
tree | b1d82e77ee04ee50b24298ae58f46c0980ec0e5d /tests/auto/qwidget/tst_qwidget.cpp | |
parent | 9a512ee004535983e12a1dd38dc2e28eb35c1d5c (diff) | |
download | Qt-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.cpp | 1 |
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); |