summaryrefslogtreecommitdiffstats
path: root/tests/auto/qgroupbox
diff options
context:
space:
mode:
authorJanne Anttila <janne.anttila@digia.com>2009-08-12 13:26:43 +0300
committerJanne Anttila <janne.anttila@digia.com>2009-08-12 13:26:43 +0300
commitb64f4af233f0672c40e44358f0efa80ebfaa7620 (patch)
tree893bd6e48bbc0766ea28bc696217731b1c65fb8f /tests/auto/qgroupbox
parent6383349c11fdff670a0244edb16fd7b7750a4e62 (diff)
Workaround for Nokia X86 compiler, to compile get more GUI test compile.
Apparently Nokia X86 compiler is not able to use templated qCompare when given arguments have different different type but same base class. This error should be isolated and reported to Nokia X86 team. See task: 259508
Diffstat (limited to 'tests/auto/qgroupbox')
-rw-r--r--tests/auto/qgroupbox/tst_qgroupbox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qgroupbox/tst_qgroupbox.cpp b/tests/auto/qgroupbox/tst_qgroupbox.cpp
index 4933debf37..383326d346 100644
--- a/tests/auto/qgroupbox/tst_qgroupbox.cpp
+++ b/tests/auto/qgroupbox/tst_qgroupbox.cpp
@@ -467,7 +467,7 @@ void tst_QGroupBox::propagateFocus()
box.show();
box.setFocus();
QTest::qWait(250);
- QCOMPARE(qApp->focusWidget(), &lineEdit);
+ QCOMPARE(qApp->focusWidget(), static_cast<QWidget*>(&lineEdit));
}
QTEST_MAIN(tst_QGroupBox)