diff options
Diffstat (limited to 'muse2/muse/synth.cpp')
-rw-r--r-- | muse2/muse/synth.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/muse2/muse/synth.cpp b/muse2/muse/synth.cpp index 93aa0763..defcd02e 100644 --- a/muse2/muse/synth.cpp +++ b/muse2/muse/synth.cpp @@ -204,7 +204,7 @@ void* MessSynth::instantiate(const QString& instanceName) "Unable to find msynth_descriptor() function in plugin " "library file \"%s\": %s.\n" "Are you sure this is a MESS plugin file?\n", - info.filePath().ascii(), txt); + info.filePath().toAscii().constData(), txt); undoSetuid(); return 0; } @@ -501,7 +501,7 @@ void initMidiSynth() printf("searching for software synthesizer in <%s>\n", s.toLatin1().constData()); if (pluginDir.exists()) { QFileInfoList list = pluginDir.entryInfoList(); - QFileInfoListIterator it=list.begin(); + QFileInfoList::iterator it=list.begin(); QFileInfo* fi; while(it!=list.end()) { fi = &*it; @@ -698,7 +698,7 @@ void SynthI::readProgram(Xml& xml, const QString& name) case Xml::End: return; case Xml::TagStart: - xml.unknown(name); + xml.unknown(name.toAscii().constData()); break; case Xml::Attribut: if(tag == "bankH") @@ -710,7 +710,7 @@ void SynthI::readProgram(Xml& xml, const QString& name) if(tag == "prog") _curProgram = xml.s2().toUInt(); else - xml.unknown(name); + xml.unknown(name.toAscii().constData()); break; case Xml::TagEnd: if(tag == name) |