summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim E. Real <termtech@rogers.com>2011-05-11 20:34:22 +0000
committerTim E. Real <termtech@rogers.com>2011-05-11 20:34:22 +0000
commita89bf499261c8a4542930fd488c2652b31080fd5 (patch)
tree47a31bd1e89f769b282390b1d43da2d79d9892d5
parent4f2e54561260eb8382953d5723d5d111353a22c9 (diff)
Added file filter: All (*).
-rw-r--r--muse2/synti/fluid/fluidgui.cpp2
-rw-r--r--muse2/synti/fluidsynth/fluidsynthgui.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/muse2/synti/fluid/fluidgui.cpp b/muse2/synti/fluid/fluidgui.cpp
index 3ba70aff..7bd42d23 100644
--- a/muse2/synti/fluid/fluidgui.cpp
+++ b/muse2/synti/fluid/fluidgui.cpp
@@ -73,7 +73,7 @@ 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 (*)"));
if (!s.isEmpty()) {
pathEntry->setText(s);
}
diff --git a/muse2/synti/fluidsynth/fluidsynthgui.cpp b/muse2/synti/fluidsynth/fluidsynthgui.cpp
index 8c7bbf12..6fb49958 100644
--- a/muse2/synti/fluidsynth/fluidsynthgui.cpp
+++ b/muse2/synti/fluidsynth/fluidsynthgui.cpp
@@ -164,7 +164,7 @@ void FluidSynthGui::loadClicked()
QString filename = QFileDialog::getOpenFileName(this,
tr("Choose soundfont"),
lastdir,
- QString("*.[Ss][Ff]2"));
+ QString("Soundfonts (*.[Ss][Ff]2);;All files (*)"));
if (filename != QString::null) {
int lastslash = filename.lastIndexOf('/');