projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
52a80eb
)
Fix comment and increase readability in probes.cpp
author
Soeren Apel
<soeren@apelpie.net>
Sun, 3 Aug 2014 12:12:13 +0000
(14:12 +0200)
committer
Bert Vermeulen
<bert@biot.com>
Sun, 3 Aug 2014 12:20:46 +0000
(14:20 +0200)
pv/popups/probes.cpp
patch
|
blob
|
history
diff --git
a/pv/popups/probes.cpp
b/pv/popups/probes.cpp
index fc069b8fd42761ef6ce5d6edda43d93e55d02dd8..a20dfccafb4f345c51d76147f69a2f4852245bde 100644
(file)
--- a/
pv/popups/probes.cpp
+++ b/
pv/popups/probes.cpp
@@
-63,6
+63,7
@@
Probes::Probes(SigSession &session, QWidget *parent) :
// Collect a set of signals
map<const sr_channel*, shared_ptr<Signal> > signal_map;
const vector< shared_ptr<Signal> > sigs = _session.get_signals();
// Collect a set of signals
map<const sr_channel*, shared_ptr<Signal> > signal_map;
const vector< shared_ptr<Signal> > sigs = _session.get_signals();
+
for (const shared_ptr<Signal> &sig : sigs)
signal_map[sig->probe()] = sig;
for (const shared_ptr<Signal> &sig : sigs)
signal_map[sig->probe()] = sig;
@@
-73,7
+74,7
@@
Probes::Probes(SigSession &session, QWidget *parent) :
(const sr_channel_group*)g->data;
assert(group);
(const sr_channel_group*)g->data;
assert(group);
- // Make a set of signals
, and removed this
signals from the
+ // Make a set of signals
and remove these
signals from the
// signal map.
vector< shared_ptr<Signal> > group_sigs;
for (const GSList *p = group->channels; p; p = p->next)
// signal map.
vector< shared_ptr<Signal> > group_sigs;
for (const GSList *p = group->channels; p; p = p->next)