summaryrefslogtreecommitdiffstats
path: root/tests/auto/qwidget
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@nokia.com>2010-04-13 12:57:00 (GMT)
committerRichard Moe Gustavsen <richard.gustavsen@nokia.com>2010-04-14 08:27:51 (GMT)
commitd3e91e4124b96869b8c4e2c8492b4d4cec913ebc (patch)
treeb0886255256015520e0ceb5ef09473cbc000aea2 /tests/auto/qwidget
parent7e1e691d0ae3c665ecb213ce7fd0e27d9838e5a9 (diff)
downloadQt-d3e91e4124b96869b8c4e2c8492b4d4cec913ebc.zip
Qt-d3e91e4124b96869b8c4e2c8492b4d4cec913ebc.tar.gz
Qt-d3e91e4124b96869b8c4e2c8492b4d4cec913ebc.tar.bz2
Cocoa: qwidget autotest fails on setToolTip
The reason turns out to be that we: 1. Half-way fake mouse events from QCursor::setPos 2. Don't fake mouse move upon mouse enter unless traking is on The test failed when mouse trackin was on, so that we ended up faking the same mouse move event twize (in QCursor::setPos and mouseEnter). We now do a different implementation for setPos on cocoa (so that native events will be generated), and always fake a mouse move event from mouse enter to make tooltips (and other event filters) work Reviewed-by: MortenS
Diffstat (limited to 'tests/auto/qwidget')
-rw-r--r--tests/auto/qwidget/tst_qwidget.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/auto/qwidget/tst_qwidget.cpp b/tests/auto/qwidget/tst_qwidget.cpp
index 1b2944e..76e20b9 100644
--- a/tests/auto/qwidget/tst_qwidget.cpp
+++ b/tests/auto/qwidget/tst_qwidget.cpp
@@ -6056,9 +6056,6 @@ void tst_QWidget::setToolTip()
#ifdef Q_OS_WINCE_WM
QSKIP("Mouse over doesn't work on Windows mobile.", SkipAll);
#endif
-#ifdef QT_MAC_USE_COCOA
- QSKIP("Temporarily disable the rest on cocoa due to QCursor::setPos problems.", SkipAll);
-#endif
for (int pass = 0; pass < 2; ++pass) {
QWidget *popup = new QWidget(0, Qt::Popup);