Skip to content

Commit 9b81469

Browse files
committed
fix issue with last region per screen
1 parent d4987a8 commit 9b81469

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/widgets/capture/capturewidget.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1370,8 +1370,6 @@ void CaptureWidget::initSelection()
13701370
});
13711371
if (!initialSelection.isNull()) {
13721372
const qreal scale = m_context.screenshot.devicePixelRatio();
1373-
initialSelection.moveTopLeft(initialSelection.topLeft() -
1374-
mapToGlobal(QPoint(0, 0)));
13751373
initialSelection.setTop(initialSelection.top() / scale);
13761374
initialSelection.setBottom(initialSelection.bottom() / scale);
13771375
initialSelection.setLeft(initialSelection.left() / scale);

0 commit comments

Comments
 (0)