Header, Viewport: Don't manually invoke on_signals_changed on construction
[pulseview.git] / pv / view / viewport.cpp
index c0e9a69e3679f4796512160918b60136817c5ac7..afff74eec85c17f5d1db0845d91a1f37e1660ffe 100644 (file)
@@ -57,10 +57,6 @@ Viewport::Viewport(View &parent) :
 
        connect(&_view, SIGNAL(signals_moved()),
                this, SLOT(on_signals_moved()));
-
-       // Trigger the initial event manually. The default device has signals
-       // which were created before this object came into being
-       on_signals_changed();
 }
 
 int Viewport::get_total_height() const