1 diff --git a/mainwindow.cpp b/mainwindow.cpp
2 index f03a743e..70c29a45 100644
5 @@ -970,7 +970,7 @@ void MainWindow::showEvent(QShowEvent *e) {
6 DockWidget *MainWindow::redistributeFindDock(const QPoint &pos) {
7 QWidget *child = childAt(pos);
8 if (QTabBar *tabBar = findSelfOrParent<QTabBar *>(child)) {
9 - child = childAt({pos.x(), tabBar->mapTo(this, QPoint{}).y() - 1});
10 + child = childAt(QPoint({pos.x(), tabBar->mapTo(this, QPoint{}).y() - 1}));
12 return findSelfOrParent<DockWidget *>(child);