projects
/
pulseview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab4e1fc
)
In View::zoom_one_to_one use View::get_visible_data
author
Joel Holdsworth
<joel@airwebreathe.org.uk>
Sun, 16 Feb 2014 10:14:08 +0000
(10:14 +0000)
committer
Joel Holdsworth
<joel@airwebreathe.org.uk>
Sat, 1 Mar 2014 11:02:10 +0000
(11:02 +0000)
pv/view/view.cpp
patch
|
blob
|
history
diff --git
a/pv/view/view.cpp
b/pv/view/view.cpp
index b0e97cb8e04e7df2d5ae558fe92ddcac0ed6c7f7..6970ec39adb49945f8dd292567e6ce5b32b03ed7 100644
(file)
--- a/
pv/view/view.cpp
+++ b/
pv/view/view.cpp
@@
-181,11
+181,7
@@
void View::zoom_one_to_one()
session().get_signals());
// Make a set of all the visible data objects
- set< shared_ptr<SignalData> > visible_data;
- BOOST_FOREACH(const shared_ptr<Signal> sig, sigs)
- if (sig->enabled())
- visible_data.insert(sig->data());
-
+ set< shared_ptr<SignalData> > visible_data = get_visible_data();
if (visible_data.empty())
return;