projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cc88566
)
TraceTreeItem: Added valid owner assert to drag_by
author
Joel Holdsworth
<joel@airwebreathe.org.uk>
Sun, 30 Aug 2015 14:42:41 +0000
(08:42 -0600)
committer
Joel Holdsworth
<joel@airwebreathe.org.uk>
Sun, 18 Oct 2015 21:32:29 +0000
(15:32 -0600)
pv/view/tracetreeitem.cpp
patch
|
blob
|
history
diff --git
a/pv/view/tracetreeitem.cpp
b/pv/view/tracetreeitem.cpp
index fa11e292a7a2ae655fb36502db6fa5ec80cdbeb5..89bf466788224bb2518abc2fb3f3c9370e11ce6c 100644
(file)
--- a/
pv/view/tracetreeitem.cpp
+++ b/
pv/view/tracetreeitem.cpp
@@
-122,6
+122,7
@@
int TraceTreeItem::get_visual_y() const
void TraceTreeItem::drag_by(const QPoint &delta)
{
+ assert(owner_);
force_to_v_offset(drag_point_.y() + delta.y() -
owner_->owner_visual_v_offset());
}