projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
cmake: help users by pointing out libsigrok build depencendies
[pulseview.git]
/
pv
/
views
/
trace
/
logicsignal.cpp
diff --git
a/pv/views/trace/logicsignal.cpp
b/pv/views/trace/logicsignal.cpp
index 870af9c5fce2caa04dc718afd66209ae7b1c23e9..79065ebd4740fbb7ffc215abcded4f18d53d15b9 100644
(file)
--- a/
pv/views/trace/logicsignal.cpp
+++ b/
pv/views/trace/logicsignal.cpp
@@
-103,6
+103,7
@@
LogicSignal::LogicSignal(
shared_ptr<data::SignalBase> base) :
Signal(session, base),
device_(device),
shared_ptr<data::SignalBase> base) :
Signal(session, base),
device_(device),
+ trigger_types_(get_trigger_types()),
trigger_none_(nullptr),
trigger_rising_(nullptr),
trigger_high_(nullptr),
trigger_none_(nullptr),
trigger_rising_(nullptr),
trigger_high_(nullptr),
@@
-295,9
+296,8
@@
void LogicSignal::paint_fore(QPainter &p, ViewItemPaintParams &pp)
// Draw the trigger marker
if (base_->enabled() && trigger_match_) {
const int y = get_visual_y();
// Draw the trigger marker
if (base_->enabled() && trigger_match_) {
const int y = get_visual_y();
- const vector<int32_t> trig_types = get_trigger_types();
- for (int32_t type_id : trig
_types
) {
+ for (int32_t type_id : trig
ger_types_
) {
const TriggerMatchType *const type =
TriggerMatchType::get(type_id);
if (trigger_match_ != type || type_id < 0 ||
const TriggerMatchType *const type =
TriggerMatchType::get(type_id);
if (trigger_match_ != type || type_id < 0 ||