summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Fernengel <harald.fernengel@nokia.com>2010-09-13 12:46:02 (GMT)
committerHarald Fernengel <harald.fernengel@nokia.com>2010-09-13 12:46:02 (GMT)
commitf295b0bbbf4967c5933cebff106880f9931d34ed (patch)
tree7402b1820521779f31332b23d4be7afadc6ecd41
parentc68769ed5c4a9300c81876ff3c12523a37e2624b (diff)
downloadQt-f295b0bbbf4967c5933cebff106880f9931d34ed.zip
Qt-f295b0bbbf4967c5933cebff106880f9931d34ed.tar.gz
Qt-f295b0bbbf4967c5933cebff106880f9931d34ed.tar.bz2
unbreak test
-rw-r--r--tests/auto/qmainwindow/tst_qmainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qmainwindow/tst_qmainwindow.cpp b/tests/auto/qmainwindow/tst_qmainwindow.cpp
index 6f95672..5a69d9c 100644
--- a/tests/auto/qmainwindow/tst_qmainwindow.cpp
+++ b/tests/auto/qmainwindow/tst_qmainwindow.cpp
@@ -1449,7 +1449,7 @@ Q_DECLARE_METATYPE(MoveList)
void MoveSeparator::apply(QMainWindow *mw) const
{
- QMainWindowLayout *l = qFindChild<QMainWindowLayout *>(mw->layout());
+ QMainWindowLayout *l = qFindChild<QMainWindowLayout *>(mw);
QVERIFY(l);
QList<int> path;