summaryrefslogtreecommitdiff
path: root/muse2/muse/vst.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'muse2/muse/vst.cpp')
-rw-r--r--muse2/muse/vst.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/muse2/muse/vst.cpp b/muse2/muse/vst.cpp
index ddb2e87d..29289924 100644
--- a/muse2/muse/vst.cpp
+++ b/muse2/muse/vst.cpp
@@ -270,14 +270,14 @@ long vstHostCallback(AEffect* effect,
static void scanVstDir(const QString& s)
{
if (debugMsg)
- printf("scan vst plugin dir <%s>\n", s.latin1());
+ printf("scan vst plugin dir <%s>\n", s.toLatin1());
QDir pluginDir(s, QString("*.dll"), QDir::Files);
if (pluginDir.exists()) {
const QFileInfoList* list = pluginDir.entryInfoList();
QFileInfoListIterator it(*list);
QFileInfo* fi;
while((fi = it.current())) {
- char* path = strdup(fi->filePath().latin1());
+ char* path = strdup(fi->filePath().toLatin1());
FSTInfo* info = fst_get_info(path);
if (info) {
if (info->numInputs == 0 && info->numOutputs)
@@ -422,7 +422,7 @@ void* VstSynth::instantiate()
n.setNum(_instances);
QString instanceName = baseName() + "-" + n;
doSetuid();
- const char* path = info.filePath().latin1();
+ const char* path = info.filePath().toLatin1();
fstHandle = fst_load(path);
if (fstHandle == 0) {