summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJanne Anttila <janne.anttila@digia.com>2009-10-09 10:26:28 +0300
committerJanne Anttila <janne.anttila@digia.com>2009-10-09 10:27:20 +0300
commiteb7daff1548510002031140ceb7fc601d064f670 (patch)
treefbd6a5911d478250a60ebc24fe39445b80b62ae2
parent80892f907be2f271d567d902c2b3d909b0178853 (diff)
downloadqt4-tools-eb7daff1548510002031140ceb7fc601d064f670.tar.gz
Help Nokia X86 compiler to compiler qbuttongroup autotest.
Reviewed-by: TrustMe
-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 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);