| 968 | } |
| 969 | |
| 970 | DockWidget *MainWindow::redistributeFindDock(const QPoint &pos) { |
| 971 | QWidget *child = childAt(pos); |
| 972 | if (QTabBar *tabBar = findSelfOrParent<QTabBar *>(child)) { |
| 973 | child = childAt({pos.x(), tabBar->mapTo(this, QPoint{}).y() - 1}); |
| 974 | } |
| 975 | return findSelfOrParent<DockWidget *>(child); |
| 976 | } |
| 977 | |
| 978 | bool MainWindow::redistributeDocks(const QPoint &pos, const QPoint &offset, |
| 979 | Qt::CursorShape cursorShape, |
nothing calls this directly
no outgoing calls
no test coverage detected