]> sigrok.org Git - pulseview.git/blobdiff - pv/view/viewport.cpp
RowItem: Replaced fixed signal heights with extents
[pulseview.git] / pv / view / viewport.cpp
index 8963e047b355dc8f3f0d2d2eba30fd2cb3b92766..82d13c92b985985efa7c9033760d80307c181bb6 100644 (file)
@@ -56,14 +56,6 @@ Viewport::Viewport(View &parent) :
                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) {