summaryrefslogtreecommitdiffstats
path: root/tests/auto/qitemdelegate/tst_qitemdelegate.cpp
diff options
context:
space:
mode:
authorJanne Anttila <janne.anttila@digia.com>2009-10-01 14:57:31 +0300
committerJanne Anttila <janne.anttila@digia.com>2009-10-01 14:58:46 +0300
commit05b7c4d75e9d77aafce285659ec4a2dd3c55691b (patch)
tree27b2976d8161c4077d41bdc475cb03ec46322b8f /tests/auto/qitemdelegate/tst_qitemdelegate.cpp
parent8b179f84f10eb84d9e76662959d2b39e4316d6f9 (diff)
Fixed qitemdelegate autotest compilation with Nokia X86 compiler.
Reviewed-by: TrustMe
Diffstat (limited to 'tests/auto/qitemdelegate/tst_qitemdelegate.cpp')
-rw-r--r--tests/auto/qitemdelegate/tst_qitemdelegate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qitemdelegate/tst_qitemdelegate.cpp b/tests/auto/qitemdelegate/tst_qitemdelegate.cpp
index 5d1034a3c1..426887d7cf 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<QWidget*>(&table));
QVariant value;
switch ((QVariant::Type)type) {