# HG changeset patch # User Chris Cannam # Date 1313615692 -3600 # Node ID 5117d7cf59ec6e04203042998e084030f34c1196 # Parent 3b00c165049075808f833187ac79751d2e8bb157# Parent 1d859a5dc20e5a3921c2c30a7acbd064ec926abf Merge diff -r 1d859a5dc20e -r 5117d7cf59ec data/fileio/QuickTimeFileReader.cpp --- a/data/fileio/QuickTimeFileReader.cpp Wed Aug 10 11:01:30 2011 +0100 +++ b/data/fileio/QuickTimeFileReader.cpp Wed Aug 17 22:14:52 2011 +0100 @@ -89,10 +89,12 @@ // (0, m_path.toLocal8Bit().data(), 0); + QByteArray ba = m_path.toLocal8Bit(); + CFURLRef url = CFURLCreateFromFileSystemRepresentation (kCFAllocatorDefault, - (const UInt8 *)m_path.toLocal8Bit().data(), - (CFIndex)m_path.length(), + (const UInt8 *)ba.data(), + (CFIndex)ba.length(), false);