summaryrefslogtreecommitdiff
path: root/muse2
diff options
context:
space:
mode:
authorTim E. Real <termtech@rogers.com>2011-05-11 22:23:37 +0000
committerTim E. Real <termtech@rogers.com>2011-05-11 22:23:37 +0000
commitdfcc51927bdbe7e9d9fe31312242853811df5bc6 (patch)
treedd6ff535f0f98b6f5f1cdc6e43d09f1c48e80298 /muse2
parenta89bf499261c8a4542930fd488c2652b31080fd5 (diff)
Another fix for file filters.
Diffstat (limited to 'muse2')
-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('/');