From 0fa1a6a1fc99ee0814976d0b7cbe66add7732991 Mon Sep 17 00:00:00 2001 From: Gres Date: Mon, 28 Sep 2015 23:17:56 +0300 Subject: [PATCH] Proper result show if taskbar is on top/left side of desktop. --- SelectionDialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SelectionDialog.cpp b/SelectionDialog.cpp index 4705bf2..5c0b96d 100644 --- a/SelectionDialog.cpp +++ b/SelectionDialog.cpp @@ -105,7 +105,7 @@ bool SelectionDialog::eventFilter (QObject *object, QEvent *event) { if (!selectedPixmap.isNull ()) { ProcessingItem item; item.source = selectedPixmap; - item.screenPos = selection.topLeft (); + item.screenPos = pos () + selection.topLeft (); if (mouseEvent->button () == Qt::RightButton && !languageMenu_->children ().isEmpty ()) {