diff options
author | Janne Anttila <janne.anttila@digia.com> | 2009-10-09 10:26:28 +0300 |
---|---|---|
committer | Janne Anttila <janne.anttila@digia.com> | 2009-10-09 10:27:20 +0300 |
commit | eb7daff1548510002031140ceb7fc601d064f670 (patch) | |
tree | fbd6a5911d478250a60ebc24fe39445b80b62ae2 | |
parent | 80892f907be2f271d567d902c2b3d909b0178853 (diff) | |
download | qt4-tools-eb7daff1548510002031140ceb7fc601d064f670.tar.gz |
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 11c1f47a5a..a19f8650c4 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); |