summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--muse2/synti/fluid/fluidgui.cpp3
-rw-r--r--muse2/synti/fluidsynth/fluidsynthgui.cpp3
2 files changed, 4 insertions, 2 deletions
diff --git a/muse2/synti/fluid/fluidgui.cpp b/muse2/synti/fluid/fluidgui.cpp
index 7bd42d23..af8d937c 100644
--- a/muse2/synti/fluid/fluidgui.cpp
+++ b/muse2/synti/fluid/fluidgui.cpp
@@ -73,7 +73,8 @@ void FLUIDGui::loadFont()
void FLUIDGui::soundFontFileDialog()
{
- QString s = QFileDialog::getOpenFileName(this, QString(), QString(), QString("Soundfonts (*.[Ss][Ff]2);;All files (*)"));
+ //QString s = QFileDialog::getOpenFileName(this, QString(), QString(), QString("Soundfonts (*.[Ss][Ff]2);;All files (*)"));
+ QString s = QFileDialog::getOpenFileName(this, QString(), QString(), QString("Soundfonts (*.sf2);;All files (*)"));
if (!s.isEmpty()) {
pathEntry->setText(s);
}
diff --git a/muse2/synti/fluidsynth/fluidsynthgui.cpp b/muse2/synti/fluidsynth/fluidsynthgui.cpp
index 6fb49958..2e91515f 100644
--- a/muse2/synti/fluidsynth/fluidsynthgui.cpp
+++ b/muse2/synti/fluidsynth/fluidsynthgui.cpp
@@ -164,7 +164,8 @@ void FluidSynthGui::loadClicked()
QString filename = QFileDialog::getOpenFileName(this,
tr("Choose soundfont"),
lastdir,
- QString("Soundfonts (*.[Ss][Ff]2);;All files (*)"));
+ //QString("Soundfonts (*.[Ss][Ff]2);;All files (*)"));
+ QString("Soundfonts (*.sf2);;All files (*)"));
if (filename != QString::null) {
int lastslash = filename.lastIndexOf('/');