diff options
author | Janne Anttila <janne.anttila@digia.com> | 2009-10-09 07:26:28 (GMT) |
---|---|---|
committer | Janne Anttila <janne.anttila@digia.com> | 2009-10-09 07:27:20 (GMT) |
commit | eb7daff1548510002031140ceb7fc601d064f670 (patch) | |
tree | fbd6a5911d478250a60ebc24fe39445b80b62ae2 | |
parent | 80892f907be2f271d567d902c2b3d909b0178853 (diff) | |
download | Qt-eb7daff1548510002031140ceb7fc601d064f670.zip Qt-eb7daff1548510002031140ceb7fc601d064f670.tar.gz Qt-eb7daff1548510002031140ceb7fc601d064f670.tar.bz2 |
Help Nokia X86 compiler to compiler qbuttongroup autotest.
Reviewed-by: TrustMe
-rw-r--r-- | tests/auto/qbuttongroup/tst_qbuttongroup.cpp | 2 |
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); |