From 32f371d537c2e66bd9a8c102fbe0c0f59a588f9f Mon Sep 17 00:00:00 2001 From: Aleksei Kanash Date: Mon, 15 Oct 2012 14:17:50 +0300 Subject: [PATCH] Fixed determining of absurd points on UBBoardView. --- src/board/UBBoardView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/board/UBBoardView.cpp b/src/board/UBBoardView.cpp index 0b854487..da316096 100644 --- a/src/board/UBBoardView.cpp +++ b/src/board/UBBoardView.cpp @@ -1541,7 +1541,7 @@ bool UBBoardView::isAbsurdPoint(QPoint point) for (int i = 0; i < desktop->numScreens (); i++) { QRect screenRect = desktop->screenGeometry (i); - isValidPoint = isValidPoint || screenRect.contains (point); + isValidPoint = isValidPoint || screenRect.contains (mapToGlobal(point)); } return !isValidPoint;