Proper result show if taskbar is on top/left side of desktop.

This commit is contained in:
Gres 2015-09-28 23:17:56 +03:00
parent 4887441aeb
commit 0fa1a6a1fc

View File

@ -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 ()) {