Fixed determining of absurd points on UBBoardView.

preferencesAboutTextFull
Aleksei Kanash 12 years ago
parent c74c6cdc40
commit 32f371d537
  1. 2
      src/board/UBBoardView.cpp

@ -1541,7 +1541,7 @@ bool UBBoardView::isAbsurdPoint(QPoint point)
for (int i = 0; i < desktop->numScreens (); i++) for (int i = 0; i < desktop->numScreens (); i++)
{ {
QRect screenRect = desktop->screenGeometry (i); QRect screenRect = desktop->screenGeometry (i);
isValidPoint = isValidPoint || screenRect.contains (point); isValidPoint = isValidPoint || screenRect.contains (mapToGlobal(point));
} }
return !isValidPoint; return !isValidPoint;

Loading…
Cancel
Save