summaryrefslogtreecommitdiffstats
path: root/tests/auto/qwidget
diff options
context:
space:
mode:
authorThierry Bastian <thierry.bastian@nokia.com>2010-11-26 16:24:51 (GMT)
committerThierry Bastian <thierry.bastian@nokia.com>2010-11-26 16:26:25 (GMT)
commit4ccef56d692e549e00b0c381f1ceb8e9191a3b15 (patch)
treebda33c10c2408950bffc9bd32c0fa7a450ebafee /tests/auto/qwidget
parent7dec702b4ac6fba07640959a0666ab1b44e25f07 (diff)
downloadQt-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.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 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)