From 44378bdd4b4f645dd42b3f672d12808604216e88 Mon Sep 17 00:00:00 2001 From: Pavel Tikhomirov Date: Sun, 10 Jul 2011 20:35:40 +0400 Subject: [PATCH] Offset for context menu for revision list --- src/mainimpl.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mainimpl.cpp b/src/mainimpl.cpp index 195ce46..7ead5ea 100644 --- a/src/mainimpl.cpp +++ b/src/mainimpl.cpp @@ -1237,7 +1237,9 @@ void MainImpl::doContexPopup(SCRef sha) { if (!contextTagMenu.isEmpty()) contextMenu.addMenu(&contextTagMenu); } - contextMenu.exec(QCursor::pos()); + QPoint p = QCursor::pos(); + p += QPoint(10, 10); + contextMenu.exec(p); } void MainImpl::doFileContexPopup(SCRef fileName, int type) { -- 2.11.4.GIT