summaryrefslogtreecommitdiffstats
path: root/examples/sql/masterdetail/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/sql/masterdetail/mainwindow.cpp')
-rw-r--r--examples/sql/masterdetail/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/sql/masterdetail/mainwindow.cpp b/examples/sql/masterdetail/mainwindow.cpp
index 7f3479619a..2ff9a10d91 100644
--- a/examples/sql/masterdetail/mainwindow.cpp
+++ b/examples/sql/masterdetail/mainwindow.cpp
@@ -320,7 +320,7 @@ QGroupBox* MainWindow::createAlbumGroupBox()
this, &MainWindow::showAlbumDetails);
QVBoxLayout *layout = new QVBoxLayout;
- layout->addWidget(albumView, 0, 0);
+ layout->addWidget(albumView, 0, { });
box->setLayout(layout);
return box;