diff options
author | João Abecasis <joao@abecasis.name> | 2009-09-23 10:04:54 (GMT) |
---|---|---|
committer | João Abecasis <joao@abecasis.name> | 2009-09-23 10:20:36 (GMT) |
commit | 55cb8b6d1765d1446ae046a54d98aceeba9d9146 (patch) | |
tree | 3e9b44c97084e4c7aed139ecf4845f2f0dcca06d /tests/auto | |
parent | ff2519e28cc3d219d1643a1ba766878fa236386c (diff) | |
download | Qt-55cb8b6d1765d1446ae046a54d98aceeba9d9146.zip Qt-55cb8b6d1765d1446ae046a54d98aceeba9d9146.tar.gz Qt-55cb8b6d1765d1446ae046a54d98aceeba9d9146.tar.bz2 |
Fix autotest compilation
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/q3table/tst_q3table.cpp | 2 | ||||
-rw-r--r-- | tests/auto/qprogressbar/tst_qprogressbar.cpp | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/tests/auto/q3table/tst_q3table.cpp b/tests/auto/q3table/tst_q3table.cpp index 1fe4412..ca65852 100644 --- a/tests/auto/q3table/tst_q3table.cpp +++ b/tests/auto/q3table/tst_q3table.cpp @@ -1379,7 +1379,7 @@ void tst_Q3Table::dateTimeEdit() TimeTableItem *ti = new TimeTableItem(testWidget); testWidget->setItem(0, 0, ti); testWidget->show(); - QTest::qWaitForWindowShown(&testWidget); + QTest::qWaitForWindowShown(testWidget); #ifdef WAITS QTest::qWait(50); #endif diff --git a/tests/auto/qprogressbar/tst_qprogressbar.cpp b/tests/auto/qprogressbar/tst_qprogressbar.cpp index ea9798b..d86094d 100644 --- a/tests/auto/qprogressbar/tst_qprogressbar.cpp +++ b/tests/auto/qprogressbar/tst_qprogressbar.cpp @@ -48,6 +48,8 @@ #include <qtimer.h> #include <QStyleFactory> +#include "../../shared/util.h" + //TESTED_CLASS= //TESTED_FILES= |