summaryrefslogtreecommitdiffstats
path: root/tests/auto/qwidget
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2010-11-26 17:24:51 +0100
committerThierry Bastian <thierry.bastian@nokia.com>2010-11-26 17:26:25 +0100
commit4ccef56d692e549e00b0c381f1ceb8e9191a3b15 (patch)
treebda33c10c2408950bffc9bd32c0fa7a450ebafee /tests/auto/qwidget
parent7dec702b4ac6fba07640959a0666ab1b44e25f07 (diff)
Compile fix on solaris
Task-number: QTBUG-15323 Reviewed-by: TrustMe
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 ae46fe685a..e6af8fba18 100644
--- a/tests/auto/qwidget/tst_qwidget.cpp
+++ b/tests/auto/qwidget/tst_qwidget.cpp
@@ -10599,7 +10599,7 @@ void tst_QWidget::nativeChildFocus()
QTest::qWaitForWindowShown(&w);
QCOMPARE(QApplication::activeWindow(), &w);
- QCOMPARE(QApplication::focusWidget(), p1);
+ QCOMPARE(QApplication::focusWidget(), static_cast<QWidget*>(p1));
}
QTEST_MAIN(tst_QWidget)