From e9f5e51735a541f28a16214f1ea3e7885218e36c Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Sat, 24 Oct 2020 04:43:12 -0400 Subject: [PATCH] Remove test Audio/MidiButtons from Core modules. --- src/core/AudioInterface.cpp | 9 --------- src/core/MIDI_CV.cpp | 5 ----- 2 files changed, 14 deletions(-) diff --git a/src/core/AudioInterface.cpp b/src/core/AudioInterface.cpp index 594dfe3a..b7da7775 100644 --- a/src/core/AudioInterface.cpp +++ b/src/core/AudioInterface.cpp @@ -450,15 +450,6 @@ struct AudioInterfaceWidget : ModuleWidget { // Adjust deviceChoice position audioWidget->deviceChoice->textOffset = Vec(6, 14); addChild(audioWidget); - - AudioButton* m = createWidget(Vec()); - m->setAudioPort(module); - addChild(m); - - AudioButton* m2 = createWidget(Vec(0, 50)); - m2->setAudioPort(module); - addChild(m2); - } } diff --git a/src/core/MIDI_CV.cpp b/src/core/MIDI_CV.cpp index 37b40775..d52d9319 100644 --- a/src/core/MIDI_CV.cpp +++ b/src/core/MIDI_CV.cpp @@ -506,11 +506,6 @@ struct MIDI_CVWidget : ModuleWidget { midiWidget->box.size = mm2px(Vec(33.840, 28)); midiWidget->setMidiPort(module ? &module->midiInput : NULL); addChild(midiWidget); - - - MidiButton* m = createWidget(Vec()); - m->setMidiPort(module ? &module->midiInput : NULL); - addChild(m); } void appendContextMenu(Menu* menu) override {