comparison 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
comparison
equal deleted inserted replaced
793:cefc9763dc0c 794:12f78ebc82bf
50 text[0] = (uerr >> 24) & 0xff; 50 text[0] = (uerr >> 24) & 0xff;
51 text[1] = (uerr >> 16) & 0xff; 51 text[1] = (uerr >> 16) & 0xff;
52 text[2] = (uerr >> 8) & 0xff; 52 text[2] = (uerr >> 8) & 0xff;
53 text[3] = (uerr) & 0xff; 53 text[3] = (uerr) & 0xff;
54 text[4] = '\0'; 54 text[4] = '\0';
55 return QString("%1 (%2)").arg(err).arg(QString::fromAscii(text)); 55 return QString("%1 (%2)").arg(err).arg(QString::fromLocal8Bit(text));
56 } 56 }
57 57
58 CoreAudioFileReader::CoreAudioFileReader(FileSource source, 58 CoreAudioFileReader::CoreAudioFileReader(FileSource source,
59 DecodeMode decodeMode, 59 DecodeMode decodeMode,
60 CacheMode mode, 60 CacheMode mode,