summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@nokia.com>2009-11-27 14:15:39 (GMT)
committerLiang Qi <liang.qi@nokia.com>2009-11-27 14:15:39 (GMT)
commitb6029c998fcd38de95711fa6e1ff4d8b522f8bde (patch)
tree42cca6946546b421ec4cf02c38a18d1fb2902ace /tests
parent167c64017622b34d67075f1203f3e06ceed70749 (diff)
downloadQt-b6029c998fcd38de95711fa6e1ff4d8b522f8bde.zip
Qt-b6029c998fcd38de95711fa6e1ff4d8b522f8bde.tar.gz
Qt-b6029c998fcd38de95711fa6e1ff4d8b522f8bde.tar.bz2
Fix tst_qspinbox compilation with winscw.
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qspinbox/tst_qspinbox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qspinbox/tst_qspinbox.cpp b/tests/auto/qspinbox/tst_qspinbox.cpp
index d2fe2ac..e6dcb52 100644
--- a/tests/auto/qspinbox/tst_qspinbox.cpp
+++ b/tests/auto/qspinbox/tst_qspinbox.cpp
@@ -758,7 +758,7 @@ void tst_QSpinBox::editingFinished()
box->activateWindow();
box->setFocus();
- QTRY_COMPARE(qApp->focusWidget(), box);
+ QTRY_COMPARE(qApp->focusWidget(), (QWidget *)box);
QSignalSpy editingFinishedSpy1(box, SIGNAL(editingFinished()));
QSignalSpy editingFinishedSpy2(box2, SIGNAL(editingFinished()));