summaryrefslogtreecommitdiff
path: root/muse2/synti
diff options
context:
space:
mode:
Diffstat (limited to 'muse2/synti')
-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 3ba70aff..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("*.[Ss][Ff]2"));
+ //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 8c7bbf12..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("*.[Ss][Ff]2"));
+ //QString("Soundfonts (*.[Ss][Ff]2);;All files (*)"));
+ QString("Soundfonts (*.sf2);;All files (*)"));
if (filename != QString::null) {
int lastslash = filename.lastIndexOf('/');