From 05b7c4d75e9d77aafce285659ec4a2dd3c55691b Mon Sep 17 00:00:00 2001 From: Janne Anttila Date: Thu, 1 Oct 2009 14:57:31 +0300 Subject: Fixed qitemdelegate autotest compilation with Nokia X86 compiler. Reviewed-by: TrustMe --- tests/auto/qitemdelegate/tst_qitemdelegate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/auto/qitemdelegate/tst_qitemdelegate.cpp b/tests/auto/qitemdelegate/tst_qitemdelegate.cpp index 5d1034a..426887d 100644 --- a/tests/auto/qitemdelegate/tst_qitemdelegate.cpp +++ b/tests/auto/qitemdelegate/tst_qitemdelegate.cpp @@ -865,7 +865,7 @@ void tst_QItemDelegate::decoration() qt_x11_wait_for_window_manager(&table); #endif QApplication::setActiveWindow(&table); - QTRY_COMPARE(QApplication::activeWindow(), &table); + QTRY_COMPARE(QApplication::activeWindow(), static_cast(&table)); QVariant value; switch ((QVariant::Type)type) { -- cgit v0.12