============================================================================
| 1654 | |
| 1655 | //============================================================================ |
| 1656 | CDockAreaWidget* CDockContainerWidget::dockAreaAt(const QPoint& GlobalPos) const |
| 1657 | { |
| 1658 | for (const auto& DockArea : d->DockAreas) |
| 1659 | { |
| 1660 | if (DockArea && DockArea->isVisible() && DockArea->rect().contains(DockArea->mapFromGlobal(GlobalPos))) |
| 1661 | { |
| 1662 | return DockArea; |
| 1663 | } |
| 1664 | } |
| 1665 | |
| 1666 | return nullptr; |
| 1667 | } |
| 1668 | |
| 1669 | |
| 1670 | //============================================================================ |
no test coverage detected