Header, Viewport: Don't manually invoke on_signals_changed on construction
authorJoel Holdsworth <joel@airwebreathe.org.uk>
Wed, 8 Oct 2014 20:27:02 +0000 (21:27 +0100)
committerJoel Holdsworth <joel@airwebreathe.org.uk>
Wed, 19 Nov 2014 10:23:02 +0000 (10:23 +0000)
pv/view/header.cpp
pv/view/viewport.cpp

index 22bc528cb19e727851219d7d7a136a4bb300419d..50eefc43cd765b1d0a300fb7fb622549b94044c8 100644 (file)
@@ -60,10 +60,6 @@ Header::Header(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();
 }
 
 QSize Header::sizeHint() const
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