Proper result show if taskbar is on top/left side of desktop.
This commit is contained in:
parent
4887441aeb
commit
0fa1a6a1fc
@ -105,7 +105,7 @@ bool SelectionDialog::eventFilter (QObject *object, QEvent *event) {
|
|||||||
if (!selectedPixmap.isNull ()) {
|
if (!selectedPixmap.isNull ()) {
|
||||||
ProcessingItem item;
|
ProcessingItem item;
|
||||||
item.source = selectedPixmap;
|
item.source = selectedPixmap;
|
||||||
item.screenPos = selection.topLeft ();
|
item.screenPos = pos () + selection.topLeft ();
|
||||||
|
|
||||||
if (mouseEvent->button () == Qt::RightButton &&
|
if (mouseEvent->button () == Qt::RightButton &&
|
||||||
!languageMenu_->children ().isEmpty ()) {
|
!languageMenu_->children ().isEmpty ()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user