From f295b0bbbf4967c5933cebff106880f9931d34ed Mon Sep 17 00:00:00 2001 From: Harald Fernengel Date: Mon, 13 Sep 2010 14:46:02 +0200 Subject: unbreak test --- tests/auto/qmainwindow/tst_qmainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(mw->layout()); + QMainWindowLayout *l = qFindChild(mw); QVERIFY(l); QList path; -- cgit v0.12