changeset 794:12f78ebc82bf qt5

Fix for Qt5
author Chris Cannam
date Tue, 07 May 2013 15:41:01 +0100
parents cefc9763dc0c
children dc20458f6f85
files data/fileio/CoreAudioFileReader.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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,