Bugzilla – Attachment 174 Details for
Bug 682
Context menu event can be ignored on channel labels and flags
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Use event coordinates instead of cached mouse_point_
pv.diff (text/plain), 878 bytes, created by
jry
on 2015-10-30 21:37:20 CET
(
hide
)
Description:
Use event coordinates instead of cached mouse_point_
Filename:
MIME Type:
Creator:
jry
Created:
2015-10-30 21:37:20 CET
Size:
878 bytes
patch
obsolete
>diff --git a/pv/view/header.cpp b/pv/view/header.cpp >index 7c2dd9b..0de1eed 100644 >--- a/pv/view/header.cpp >+++ b/pv/view/header.cpp >@@ -129,7 +129,7 @@ void Header::paintEvent(QPaintEvent*) > > void Header::contextMenuEvent(QContextMenuEvent *event) > { >- const shared_ptr<ViewItem> r = get_mouse_over_item(mouse_point_); >+ const shared_ptr<ViewItem> r = get_mouse_over_item(event->pos()); > if (!r) > return; > >diff --git a/pv/view/marginwidget.cpp b/pv/view/marginwidget.cpp >index 2d663cd..036029c 100644 >--- a/pv/view/marginwidget.cpp >+++ b/pv/view/marginwidget.cpp >@@ -53,7 +53,7 @@ void MarginWidget::show_popup(const shared_ptr<ViewItem> &item) > > void MarginWidget::contextMenuEvent(QContextMenuEvent *event) > { >- const shared_ptr<ViewItem> r = get_mouse_over_item(mouse_point_); >+ const shared_ptr<ViewItem> r = get_mouse_over_item(event->pos()); > if (!r) > return; >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 682
: 174