X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=pv%2Fview%2Fheader.cpp;h=a7902521216a90655ba708669ab5b36b2886f52b;hb=9f46d9058be2cc2b11ccecb0ba4c4f61d55bec1a;hp=ca5df96fca250dc23666bbdcf59f644a07083139;hpb=d7c0ca4a965c5f9cb2ae9aea584bb2547f4baca1;p=pulseview.git diff --git a/pv/view/header.cpp b/pv/view/header.cpp index ca5df96..a790252 100644 --- a/pv/view/header.cpp +++ b/pv/view/header.cpp @@ -36,8 +36,11 @@ #include -using namespace boost; -using namespace std; +using boost::shared_ptr; +using std::max; +using std::make_pair; +using std::pair; +using std::vector; namespace pv { namespace view { @@ -56,6 +59,10 @@ 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