diff options
author | Liang Qi <liang.qi@nokia.com> | 2009-11-27 14:15:39 (GMT) |
---|---|---|
committer | Liang Qi <liang.qi@nokia.com> | 2009-11-27 14:15:39 (GMT) |
commit | b6029c998fcd38de95711fa6e1ff4d8b522f8bde (patch) | |
tree | 42cca6946546b421ec4cf02c38a18d1fb2902ace | |
parent | 167c64017622b34d67075f1203f3e06ceed70749 (diff) | |
download | Qt-b6029c998fcd38de95711fa6e1ff4d8b522f8bde.zip Qt-b6029c998fcd38de95711fa6e1ff4d8b522f8bde.tar.gz Qt-b6029c998fcd38de95711fa6e1ff4d8b522f8bde.tar.bz2 |
Fix tst_qspinbox compilation with winscw.
-rw-r--r-- | tests/auto/qspinbox/tst_qspinbox.cpp | 2 |
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())); |