diff options
author | Janne Anttila <janne.anttila@digia.com> | 2009-10-01 11:57:31 (GMT) |
---|---|---|
committer | Janne Anttila <janne.anttila@digia.com> | 2009-10-01 11:58:46 (GMT) |
commit | 05b7c4d75e9d77aafce285659ec4a2dd3c55691b (patch) | |
tree | 27b2976d8161c4077d41bdc475cb03ec46322b8f | |
parent | 8b179f84f10eb84d9e76662959d2b39e4316d6f9 (diff) | |
download | Qt-05b7c4d75e9d77aafce285659ec4a2dd3c55691b.zip Qt-05b7c4d75e9d77aafce285659ec4a2dd3c55691b.tar.gz Qt-05b7c4d75e9d77aafce285659ec4a2dd3c55691b.tar.bz2 |
Fixed qitemdelegate autotest compilation with Nokia X86 compiler.
Reviewed-by: TrustMe
-rw-r--r-- | tests/auto/qitemdelegate/tst_qitemdelegate.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<QWidget*>(&table)); QVariant value; switch ((QVariant::Type)type) { |