viewer: map context menu position from sender rather than itself
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user