Remove comment

This commit is contained in:
0xb00bface 2021-09-11 14:05:55 +02:00
parent baef41d902
commit baf8a8ae1e
1 changed files with 0 additions and 15 deletions

View File

@ -362,21 +362,6 @@ public class ModelMenuContributor {
private void startStopAction(List<Model> selection, boolean start) {
if (start) {
// boolean selectSource = Config.getInstance().getSettings().chooseStreamQuality;
// if (selectSource) {
// for (Model model : selection) {
// Consumer<Model> onSuccess = modl -> startRecording(List.of(modl));
// Consumer<Throwable> onFail = throwable -> {
// Alert alert = new AutosizeAlert(Alert.AlertType.ERROR, source.getScene());
// alert.setTitle(ERROR);
// alert.setHeaderText(COULDNT_START_STOP_RECORDING);
// alert.setContentText("I/O error while starting/stopping the recording: " + throwable.getLocalizedMessage());
// alert.showAndWait();
// };
// StreamSourceSelectionDialog.show(source.getScene(), model, onSuccess, onFail);
// }
// } else {
// }
startRecording(selection);
} else {
stopRecording(selection);