X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fgui%2Ffilethread.cpp;h=e3b5ffd48a364ee2a12df75373088f244e1f7721;hb=ddac3e0e78a5c4b0236bdeaff18cf9a3ac4ba4f7;hp=01397e4362bd52cfe6d5def6e692e1d06dc45ff5;hpb=5ae68cf3e1b1a38f30d4201ec41ca761a72d3c96;p=virtualjaguar diff --git a/src/gui/filethread.cpp b/src/gui/filethread.cpp index 01397e4..e3b5ffd 100644 --- a/src/gui/filethread.cpp +++ b/src/gui/filethread.cpp @@ -104,7 +104,7 @@ void FileThread::HandleFile(QFileInfo fileInfo) // ZIP files are special: They contain more than just the software now... ;-) // So now we fish around inside them to pull out the stuff we want. // Probably also need more stringent error checking as well... :-O - fileSize = GetFileFromZIP(fileInfo.filePath().toAscii(), FT_SOFTWARE, buffer); + fileSize = GetFileFromZIP(fileInfo.filePath().toUtf8(), FT_SOFTWARE, buffer); if (fileSize == 0) return; @@ -162,7 +162,7 @@ void FileThread::HandleFile(QFileInfo fileInfo) // See if we can fish out a label. :-) if (haveZIPFile) { - uint32_t size = GetFileFromZIP(fileInfo.filePath().toAscii(), FT_LABEL, buffer); + uint32_t size = GetFileFromZIP(fileInfo.filePath().toUtf8(), FT_LABEL, buffer); //printf("FT: Label size = %u bytes.\n", size); if (size > 0)