summaryrefslogtreecommitdiff
path: root/muse2/synti/fluidsynth/fluidsynti.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'muse2/synti/fluidsynth/fluidsynti.cpp')
-rw-r--r--muse2/synti/fluidsynth/fluidsynti.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/muse2/synti/fluidsynth/fluidsynti.cpp b/muse2/synti/fluidsynth/fluidsynti.cpp
index d130e741..c9d5ef4d 100644
--- a/muse2/synti/fluidsynth/fluidsynti.cpp
+++ b/muse2/synti/fluidsynth/fluidsynti.cpp
@@ -591,7 +591,7 @@ static void* fontLoadThread(void* t)
QString temp = QString(filename);
QString name = temp.right(temp.length() - temp.findRev('/',-1) - 1);
name = name.left(name.length()-4); //Strip off ".sf2"
- font.name = name.latin1();
+ font.name = name.toLatin1().constData();
fptr->stack.push_front(font);
fptr->currentlyLoadedFonts++;