--- qsampler/trunk/src/qsamplerChannel.cpp 2005/08/16 18:29:27 747 +++ qsampler/trunk/src/qsamplerChannel.cpp 2005/08/17 23:03:26 748 @@ -602,7 +602,7 @@ if (isInstrumentFile(sInstrumentFile)) { #ifdef CONFIG_LIBGIG if (bInstrumentNames) { - RIFF::File *pRiff = new RIFF::File((const RIFF::String&) sInstrumentFile); + RIFF::File *pRiff = new RIFF::File(sInstrumentFile.latin1()); gig::File *pGig = new gig::File(pRiff); gig::Instrument *pInstrument = pGig->GetFirstInstrument(); while (pInstrument) { @@ -633,7 +633,7 @@ sInstrumentName = QFileInfo(sInstrumentFile).fileName(); #ifdef CONFIG_LIBGIG if (bInstrumentNames) { - RIFF::File *pRiff = new RIFF::File((const RIFF::String&) sInstrumentFile); + RIFF::File *pRiff = new RIFF::File(sInstrumentFile.latin1()); gig::File *pGig = new gig::File(pRiff); int iIndex = 0; gig::Instrument *pInstrument = pGig->GetFirstInstrument();