13
0

Remove Unwinder instances in EngineControl::set_*_device_popdown_strings

These are not necessary since SignalBlocker will prevent signal emission
This commit is contained in:
Tim Mayberry 2015-08-10 21:48:53 +10:00
parent 495dd2e52a
commit 6451060bd1

View File

@ -981,7 +981,6 @@ EngineControl::set_device_popdown_strings ()
// for this backend) Let's make sure it's not blank
current_device = available_devices.front ();
PBD::Unwinder<uint32_t> protect_ignore_changes (ignore_changes, ignore_changes + 1);
set_popdown_strings (device_combo, available_devices);
DEBUG_ECONTROL (string_compose ("set device_combo active text: %1", current_device));
@ -1026,7 +1025,6 @@ EngineControl::set_input_device_popdown_strings ()
// for this backend) Let's make sure it's not blank
current_device = available_devices.front ();
PBD::Unwinder<uint32_t> protect_ignore_changes (ignore_changes, ignore_changes + 1);
set_popdown_strings (input_device_combo, available_devices);
DEBUG_ECONTROL (string_compose ("set input_device_combo active text: %1", current_device));
@ -1072,7 +1070,6 @@ EngineControl::set_output_device_popdown_strings ()
// for this backend) Let's make sure it's not blank
current_device = available_devices.front ();
PBD::Unwinder<uint32_t> protect_ignore_changes (ignore_changes, ignore_changes + 1);
set_popdown_strings (output_device_combo, available_devices);
DEBUG_ECONTROL (string_compose ("set input_device_combo active text: %1", current_device));