]> sigrok.org Git - pulseview.git/blobdiff - pv/view/header.cpp
Rename 'probe' to 'channel' (libsigrokdecode change).
[pulseview.git] / pv / view / header.cpp
index ca5df96fca250dc23666bbdcf59f644a07083139..a7902521216a90655ba708669ab5b36b2886f52b 100644 (file)
 
 #include <pv/widgets/popup.h>
 
-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