summaryrefslogtreecommitdiffstats
path: root/tests/auto/qwidget
diff options
context:
space:
mode:
authorJanne Anttila <janne.anttila@digia.com>2009-08-12 10:26:43 (GMT)
committerJanne Anttila <janne.anttila@digia.com>2009-08-12 10:26:43 (GMT)
commitb64f4af233f0672c40e44358f0efa80ebfaa7620 (patch)
tree893bd6e48bbc0766ea28bc696217731b1c65fb8f /tests/auto/qwidget
parent6383349c11fdff670a0244edb16fd7b7750a4e62 (diff)
downloadQt-b64f4af233f0672c40e44358f0efa80ebfaa7620.zip
Qt-b64f4af233f0672c40e44358f0efa80ebfaa7620.tar.gz
Qt-b64f4af233f0672c40e44358f0efa80ebfaa7620.tar.bz2
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/qwidget')
-rw-r--r--tests/auto/qwidget/tst_qwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qwidget/tst_qwidget.cpp b/tests/auto/qwidget/tst_qwidget.cpp
index 98a5e73..0014e12 100644
--- a/tests/auto/qwidget/tst_qwidget.cpp
+++ b/tests/auto/qwidget/tst_qwidget.cpp
@@ -9272,7 +9272,7 @@ void tst_QWidget::inputFocus_task257832()
QSKIP("No input context", SkipSingle);
widget->setFocus();
context->setFocusWidget(widget);
- QCOMPARE(context->focusWidget(), widget);
+ QCOMPARE(context->focusWidget(), static_cast<QWidget*>(widget));
widget->setReadOnly(true);
QVERIFY(!context->focusWidget());
delete widget;