projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added pv::view::RowItemIterator
[pulseview.git]
/
pv
/
view
/
logicsignal.cpp
diff --git
a/pv/view/logicsignal.cpp
b/pv/view/logicsignal.cpp
index d9987170f06e1f18770fc6509310305196238beb..69c495e609fafd84b8113e274b3d270305240ff8 100644
(file)
--- a/
pv/view/logicsignal.cpp
+++ b/
pv/view/logicsignal.cpp
@@
-137,13
+137,17
@@
void LogicSignal::paint_mid(QPainter &p, int left, int right)
assert(_channel);
assert(_data);
assert(right >= left);
assert(_channel);
assert(_data);
assert(right >= left);
+ assert(_owner);
const int y = get_y();
const int y = get_y();
+
+ const View *const view = _owner->view();
+ assert(view);
- const double scale =
_
view->scale();
+ const double scale = view->scale();
assert(scale > 0);
assert(scale > 0);
- const double offset =
_
view->offset();
+ const double offset = view->offset();
if (!_channel->enabled())
return;
if (!_channel->enabled())
return;