Mercurial > hg > svcore
changeset 701:8c410ad4aa97 library_integration
Merge from the default branch
author | mathieub <mathieu.barthet@eecs.qmul.ac.uk> |
---|---|
date | Tue, 23 Aug 2011 12:05:57 +0100 |
parents | 5e8b3ca147e4 (current diff) 5117d7cf59ec (diff) |
children | 773f228f080d |
files | |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/data/fileio/QuickTimeFileReader.cpp Wed Aug 10 11:01:03 2011 +0100 +++ b/data/fileio/QuickTimeFileReader.cpp Tue Aug 23 12:05:57 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);