summaryrefslogtreecommitdiffstats
path: root/tests/auto/q3table/tst_q3table.cpp
diff options
context:
space:
mode:
authorJerome Pasion <jerome.pasion@nokia.com>2010-09-16 13:50:28 (GMT)
committerJerome Pasion <jerome.pasion@nokia.com>2010-09-16 13:50:28 (GMT)
commit30b2a2669c03a3a0fc6a0cbb82ae1875121e2fb4 (patch)
tree6b8adae6b69e3fdc5d6cdd65b79307229957d421 /tests/auto/q3table/tst_q3table.cpp
parent3e7c69afd0c69b2fffccf4e8cb6f292366f3217f (diff)
parent53352584bbf81b577998b9f5a7dd2f7191870754 (diff)
downloadQt-30b2a2669c03a3a0fc6a0cbb82ae1875121e2fb4.zip
Qt-30b2a2669c03a3a0fc6a0cbb82ae1875121e2fb4.tar.gz
Qt-30b2a2669c03a3a0fc6a0cbb82ae1875121e2fb4.tar.bz2
Merge branch '13092010doc' of scm.dev.nokia.troll.no:qt/qt-doc-team into 13092010doc
Diffstat (limited to 'tests/auto/q3table/tst_q3table.cpp')
-rw-r--r--tests/auto/q3table/tst_q3table.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/auto/q3table/tst_q3table.cpp b/tests/auto/q3table/tst_q3table.cpp
index 90bf806..93de251 100644
--- a/tests/auto/q3table/tst_q3table.cpp
+++ b/tests/auto/q3table/tst_q3table.cpp
@@ -502,7 +502,7 @@ void tst_Q3Table::pageUpDownNavigation()
void tst_Q3Table::simpleKeyboardNavigation()
{
QApplication::setActiveWindow(testWidget);
- QTRY_COMPARE(QApplication::activeWindow(), testWidget);
+ QTRY_COMPARE(QApplication::activeWindow(), static_cast<QWidget *>(testWidget));
QWidget *w;
// Test for task #24726
@@ -1208,7 +1208,7 @@ void tst_Q3Table::editCheck()
table.show();
QApplication::setActiveWindow(&table);
QTest::qWaitForWindowShown(&table);
- QTRY_COMPARE(QApplication::activeWindow(), &table);
+ QTRY_COMPARE(QApplication::activeWindow(), static_cast<QWidget *>(&table));
table.setCurrentCell(0, 0);
#ifdef WAITS
QTest::qWait(50);
@@ -1345,7 +1345,7 @@ void tst_Q3Table::valueChanged()
testWidget->show();
QApplication::setActiveWindow(testWidget);
QTest::qWaitForWindowShown(testWidget);
- QTRY_COMPARE(QApplication::activeWindow(), testWidget);
+ QTRY_COMPARE(QApplication::activeWindow(), static_cast<QWidget *>(testWidget));
#ifdef WAITS
QTest::qWait(50);
#endif
@@ -1395,7 +1395,7 @@ void tst_Q3Table::dateTimeEdit()
testWidget->show();
QApplication::setActiveWindow(testWidget);
QTest::qWaitForWindowShown(testWidget);
- QTRY_COMPARE(QApplication::activeWindow(), testWidget);
+ QTRY_COMPARE(QApplication::activeWindow(), static_cast<QWidget *>(testWidget));
#ifdef WAITS
QTest::qWait(50);
#endif