From aee1b9d571b7b8999a5499424ced4d8064c53a52 Mon Sep 17 00:00:00 2001 From: Le Tan Date: Fri, 17 Mar 2017 21:14:54 -0700 Subject: [PATCH] bugfix: use QTabBar.mapToGlobal() in tabbarContextMenuRequested --- src/veditwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/veditwindow.cpp b/src/veditwindow.cpp index 2f30ce2a..471c1f44 100644 --- a/src/veditwindow.cpp +++ b/src/veditwindow.cpp @@ -429,7 +429,7 @@ void VEditWindow::tabbarContextMenuRequested(QPoint p_pos) } } - menu.exec(mapToGlobal(p_pos)); + menu.exec(bar->mapToGlobal(p_pos)); } void VEditWindow::tabListJump(QAction *action)