projects
/
pulseview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
RowItem: Replaced fixed signal heights with extents
[pulseview.git]
/
pv
/
view
/
viewport.cpp
diff --git
a/pv/view/viewport.cpp
b/pv/view/viewport.cpp
index 8963e047b355dc8f3f0d2d2eba30fd2cb3b92766..82d13c92b985985efa7c9033760d80307c181bb6 100644
(file)
--- a/
pv/view/viewport.cpp
+++ b/
pv/view/viewport.cpp
@@
-56,14
+56,6
@@
Viewport::Viewport(View &parent) :
this, SLOT(on_signals_moved()));
}
this, SLOT(on_signals_moved()));
}
-int Viewport::get_total_height() const
-{
- int h = 0;
- for (auto &i : _view)
- h = max(i->v_offset() + View::SignalHeight, h);
- return h;
-}
-
void Viewport::signals_updated()
{
for (shared_ptr<RowItem> r : _view) {
void Viewport::signals_updated()
{
for (shared_ptr<RowItem> r : _view) {