diff options
Diffstat (limited to 'muse2/synti/fluid/fluidgui.cpp')
-rw-r--r-- | muse2/synti/fluid/fluidgui.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/muse2/synti/fluid/fluidgui.cpp b/muse2/synti/fluid/fluidgui.cpp index 4782e741..10625999 100644 --- a/muse2/synti/fluid/fluidgui.cpp +++ b/muse2/synti/fluid/fluidgui.cpp @@ -55,7 +55,8 @@ void FLUIDGui::loadFont() QMessageBox::critical(this, tr("FLUID: open Soundfile"), s); return; } - const char* path = pathEntry->text().toLatin1(); + QByteArray ba = pathEntry->text().toLatin1(); + const char* path = ba.constData(); int len = strlen(path) + 1 + 3; unsigned char buffer[len]; int k = 0; |