Engine Dialog: fix various signal connections

connect/disconnect button was connected multiple times
Also the button allowed to start a backend with
invalid settings (after changing backend).

Q: does “Connect to” make sense? It’s redundant with 
“Apply”.
This commit is contained in:
Robin Gareus 2015-01-17 21:02:00 +01:00
parent f77c923bee
commit d2cbb28f79
2 changed files with 9 additions and 3 deletions

View file

@ -246,7 +246,7 @@ class EngineControl : public ArdourDialog, public PBD::ScopedConnectionList {
void engine_running ();
void engine_stopped ();
PBD::ScopedConnection running_connection;
PBD::ScopedConnection stopped_connection;
PBD::ScopedConnectionList stopped_connection;
void connect_disconnect_click ();
void calibrate_audio_latency ();