Use PBD::string_to functions in VideoUtils::video_query_info
[ardour.git] / libs / surfaces / push2 / gui.cc
index 1e8e587a42aaf5f1bbe3a5b6eff717b255817be4..13d457d0beab299e2db0dc913c97bac657696f98 100644 (file)
@@ -145,7 +145,8 @@ P2GUI::P2GUI (Push2& p)
 
        /* catch future changes to connection state */
 
-       // p2.ConnectionChange.connect (connection_change_connection, invalidator (*this), boost::bind (&P2GUI::connection_handler, this), gui_context());
+       ARDOUR::AudioEngine::instance()->PortRegisteredOrUnregistered.connect (port_reg_connection, invalidator (*this), boost::bind (&P2GUI::connection_handler, this), gui_context());
+       p2.ConnectionChange.connect (connection_change_connection, invalidator (*this), boost::bind (&P2GUI::connection_handler, this), gui_context());
 }
 
 P2GUI::~P2GUI ()