Mercurial > hg > svcore
diff data/fileio/CoreAudioFileReader.cpp @ 794:12f78ebc82bf qt5
Fix for Qt5
author | Chris Cannam |
---|---|
date | Tue, 07 May 2013 15:41:01 +0100 |
parents | b6bb0ecb7958 |
children | 51cf0c35e9b0 |
line wrap: on
line diff
--- a/data/fileio/CoreAudioFileReader.cpp Fri Apr 26 16:37:55 2013 +0100 +++ b/data/fileio/CoreAudioFileReader.cpp Tue May 07 15:41:01 2013 +0100 @@ -52,7 +52,7 @@ text[2] = (uerr >> 8) & 0xff; text[3] = (uerr) & 0xff; text[4] = '\0'; - return QString("%1 (%2)").arg(err).arg(QString::fromAscii(text)); + return QString("%1 (%2)").arg(err).arg(QString::fromLocal8Bit(text)); } CoreAudioFileReader::CoreAudioFileReader(FileSource source,