diff options
author | Thierry Bastian <thierry.bastian@nokia.com> | 2010-11-26 16:24:51 (GMT) |
---|---|---|
committer | Thierry Bastian <thierry.bastian@nokia.com> | 2010-11-26 16:26:25 (GMT) |
commit | 4ccef56d692e549e00b0c381f1ceb8e9191a3b15 (patch) | |
tree | bda33c10c2408950bffc9bd32c0fa7a450ebafee /tests/auto/qwidget | |
parent | 7dec702b4ac6fba07640959a0666ab1b44e25f07 (diff) | |
download | Qt-4ccef56d692e549e00b0c381f1ceb8e9191a3b15.zip Qt-4ccef56d692e549e00b0c381f1ceb8e9191a3b15.tar.gz Qt-4ccef56d692e549e00b0c381f1ceb8e9191a3b15.tar.bz2 |
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.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qwidget/tst_qwidget.cpp b/tests/auto/qwidget/tst_qwidget.cpp index ae46fe6..e6af8fb 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) |