GUI: Misc FluidSynth-related cleanups.

This commit is contained in:
Torbjörn Andersson 2012-12-27 22:13:45 +01:00 committed by Johannes Schickel
parent c780df5175
commit 10724365aa
3 changed files with 2 additions and 8 deletions

View File

@ -66,7 +66,7 @@ FluidSynthSettingsDialog::FluidSynthSettingsDialog()
_tabWidget->addTab(_("Reverb"));
_reverbActivate = new CheckboxWidget(_tabWidget, "FluidSynthSettings_Reverb.EnableTabCheckbox", _("Activate"), 0, kActivateReverbCmd);
_reverbActivate = new CheckboxWidget(_tabWidget, "FluidSynthSettings_Reverb.EnableTabCheckbox", _("Active"), 0, kActivateReverbCmd);
_reverbRoomSizeDesc = new StaticTextWidget(_tabWidget, "FluidSynthSettings_Reverb.RoomSizeText", _("Room:"));
_reverbRoomSizeSlider = new SliderWidget(_tabWidget, "FluidSynthSettings_Reverb.RoomSizeSlider", 0, kReverbRoomSizeChangedCmd);

View File

@ -125,9 +125,6 @@ void OptionsDialog::init() {
_midiGainDesc = 0;
_midiGainSlider = 0;
_midiGainLabel = 0;
#ifdef USE_FLUIDSYNTH
_fluidSynthSettings = 0;
#endif
_enableMT32Settings = false;
_mt32Checkbox = 0;
_mt32DevicePopUp = 0;
@ -873,7 +870,7 @@ void OptionsDialog::addMIDIControls(GuiObject *boss, const Common::String &prefi
_midiGainLabel = new StaticTextWidget(boss, prefix + "mcMidiGainLabel", "1.00");
#ifdef USE_FLUIDSYNTH
_fluidSynthSettings = new ButtonWidget(boss, prefix + "mcFluidSynthSettings", _("FluidSynth Settings"), 0, kFluidSynthSettingsCmd);
new ButtonWidget(boss, prefix + "mcFluidSynthSettings", _("FluidSynth Settings"), 0, kFluidSynthSettingsCmd);
#endif
_enableMIDISettings = true;

View File

@ -135,9 +135,6 @@ private:
StaticTextWidget *_midiGainDesc;
SliderWidget *_midiGainSlider;
StaticTextWidget *_midiGainLabel;
#ifdef USE_FLUIDSYNTH
ButtonWidget *_fluidSynthSettings;
#endif
//
// MT-32 controls