Skip to content

Commit

Permalink
Resolve ambiguous overloaded function argument (#497)
Browse files Browse the repository at this point in the history
  • Loading branch information
myclevorname authored Oct 16, 2024
1 parent 5e05adb commit 3e43e03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/qt/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1150,7 +1150,7 @@ void MainWindow::showEvent(QShowEvent *e) {
DockWidget *MainWindow::redistributeFindDock(const QPoint &pos) {
QWidget *child = childAt(pos);
if (QTabBar *tabBar = findSelfOrParent<QTabBar *>(child)) {
child = childAt({pos.x(), tabBar->mapTo(this, QPoint{}).y() - 1});
child = childAt(QPoint({pos.x(), tabBar->mapTo(this, QPoint{}).y() - 1}));
}
return findSelfOrParent<DockWidget *>(child);
}
Expand Down

0 comments on commit 3e43e03

Please sign in to comment.