============================================================================
| 909 | |
| 910 | //============================================================================ |
| 911 | void CDockOverlayCross::updatePosition() |
| 912 | { |
| 913 | resize(d->DockOverlay->size()); |
| 914 | QPoint TopLeft = d->DockOverlay->pos(); |
| 915 | QPoint Offest((this->width() - d->DockOverlay->width()) / 2, |
| 916 | (this->height() - d->DockOverlay->height()) / 2); |
| 917 | QPoint CrossTopLeft = TopLeft - Offest; |
| 918 | move(CrossTopLeft); |
| 919 | } |
| 920 | |
| 921 | |
| 922 | //============================================================================ |
no test coverage detected