diff --git a/tests/auto/widgets/widgets/qmainwindow/tst_qmainwindow.cpp b/tests/auto/widgets/widgets/qmainwindow/tst_qmainwindow.cpp index bf0f58587a4..09d3eb1e8df 100644 --- a/tests/auto/widgets/widgets/qmainwindow/tst_qmainwindow.cpp +++ b/tests/auto/widgets/widgets/qmainwindow/tst_qmainwindow.cpp @@ -1657,8 +1657,8 @@ struct AddDockWidget QString name; Mode mode; - Qt::Orientation o; - Qt::DockWidgetArea a; + Qt::Orientation o = {}; + Qt::DockWidgetArea a = {}; QString other; void apply(QMainWindow *mw) const;