viewer: map context menu position from sender rather than itself

This commit is contained in:
itsmattkc
2020-02-16 00:57:34 +11:00
parent 4c6e56320a
commit 1776615999
+1 -1
View File
@@ -364,7 +364,7 @@ void ViewerWidget::ShowContextMenu(const QPoint &pos)
}
}
menu.exec(mapToGlobal(pos));
menu.exec(static_cast<QWidget*>(sender())->mapToGlobal(pos));
}
void ViewerWidget::Play()