summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJanne Anttila <janne.anttila@digia.com>2009-10-09 07:26:28 (GMT)
committerJanne Anttila <janne.anttila@digia.com>2009-10-09 07:27:20 (GMT)
commiteb7daff1548510002031140ceb7fc601d064f670 (patch)
treefbd6a5911d478250a60ebc24fe39445b80b62ae2 /tests
parent80892f907be2f271d567d902c2b3d909b0178853 (diff)
downloadQt-eb7daff1548510002031140ceb7fc601d064f670.zip
Qt-eb7daff1548510002031140ceb7fc601d064f670.tar.gz
Qt-eb7daff1548510002031140ceb7fc601d064f670.tar.bz2
Help Nokia X86 compiler to compiler qbuttongroup autotest.
Reviewed-by: TrustMe
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qbuttongroup/tst_qbuttongroup.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qbuttongroup/tst_qbuttongroup.cpp b/tests/auto/qbuttongroup/tst_qbuttongroup.cpp
index 11c1f47..a19f865 100644
--- a/tests/auto/qbuttongroup/tst_qbuttongroup.cpp
+++ b/tests/auto/qbuttongroup/tst_qbuttongroup.cpp
@@ -406,7 +406,7 @@ void tst_QButtonGroup::task106609()
QTestEventLoop::instance().enterLoop(1);
QApplication::setActiveWindow(&dlg);
- QTRY_COMPARE(QApplication::activeWindow(), &dlg);
+ QTRY_COMPARE(QApplication::activeWindow(), static_cast<QWidget*>(&dlg));
//qDebug() << "int:" << spy2.count() << "QAbstractButton*:" << spy1.count();
QCOMPARE(spy2.count(), 2);