aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordudola2016-03-23 04:03:09 +0530
committerdudola2016-04-01 11:22:09 +0530
commit40a663d58990e309d7673fa64ab8b194aaac473b (patch)
tree6bfc4d4060f236175f9b30b60fce742ac5d404f7
parent949af0fa7d5688c693b7a8201ac8b92aee95d274 (diff)
downloadscummvm-rg350-40a663d58990e309d7673fa64ab8b194aaac473b.tar.gz
scummvm-rg350-40a663d58990e309d7673fa64ab8b194aaac473b.tar.bz2
scummvm-rg350-40a663d58990e309d7673fa64ab8b194aaac473b.zip
GUI: Remove dummy FluidSynth Settings button from Edit Game.
The FluidSynth Settings button actually works only from the Options dialog. https://sourceforge.net/p/scummvm/bugs/6821/
-rw-r--r--gui/options.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/gui/options.cpp b/gui/options.cpp
index ba247e5f15..917c9053e6 100644
--- a/gui/options.cpp
+++ b/gui/options.cpp
@@ -868,10 +868,6 @@ void OptionsDialog::addMIDIControls(GuiObject *boss, const Common::String &prefi
_midiGainSlider->setMaxValue(1000);
_midiGainLabel = new StaticTextWidget(boss, prefix + "mcMidiGainLabel", "1.00");
-#ifdef USE_FLUIDSYNTH
- new ButtonWidget(boss, prefix + "mcFluidSynthSettings", _("FluidSynth Settings"), 0, kFluidSynthSettingsCmd);
-#endif
-
_enableMIDISettings = true;
}
@@ -1109,6 +1105,10 @@ GlobalOptionsDialog::GlobalOptionsDialog()
_midiTabId = tab->addTab(_("MIDI"));
addMIDIControls(tab, "GlobalOptions_MIDI.");
+#ifdef USE_FLUIDSYNTH
+ new ButtonWidget(tab, "GlobalOptions_MIDI.mcFluidSynthSettings", _("FluidSynth Settings"), 0, kFluidSynthSettingsCmd);
+#endif
+
//
// 4) The MT-32 tab
//