X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fview%2Fviewport.cpp;h=221714051504a81a7e48b47056217d98f67e05cb;hb=6dcdb3258f6f0b25e69154b5919405a194b7e724;hp=c0e9a69e3679f4796512160918b60136817c5ac7;hpb=aa59d5c201c953b3edce658bc677ac78f6f6612d;p=pulseview.git diff --git a/pv/view/viewport.cpp b/pv/view/viewport.cpp index c0e9a69..2217140 100644 --- a/pv/view/viewport.cpp +++ b/pv/view/viewport.cpp @@ -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 @@ -233,7 +229,7 @@ void Viewport::on_signals_changed() { for (shared_ptr r : _view) { assert(r); - connect(r.get(), SIGNAL(visibility_changed()), + connect(r.get(), SIGNAL(appearance_changed()), this, SLOT(update())); } }