Skip to content

Commit 3e43e03

Browse files
authored
Resolve ambiguous overloaded function argument (#497)
1 parent 5e05adb commit 3e43e03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gui/qt/mainwindow.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1150,7 +1150,7 @@ void MainWindow::showEvent(QShowEvent *e) {
11501150
DockWidget *MainWindow::redistributeFindDock(const QPoint &pos) {
11511151
QWidget *child = childAt(pos);
11521152
if (QTabBar *tabBar = findSelfOrParent<QTabBar *>(child)) {
1153-
child = childAt({pos.x(), tabBar->mapTo(this, QPoint{}).y() - 1});
1153+
child = childAt(QPoint({pos.x(), tabBar->mapTo(this, QPoint{}).y() - 1}));
11541154
}
11551155
return findSelfOrParent<DockWidget *>(child);
11561156
}

0 commit comments

Comments
 (0)