Webservices: fix QString argument for zip_open()

Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Thiago Macieira <thiago@macieira.org>
This commit is contained in:
Lubomir I. Ivanov 2013-12-04 22:14:51 +02:00 committed by Thiago Macieira
parent a1972bc343
commit 662e642ac9

View file

@ -605,7 +605,7 @@ void DivelogsDeWebServices::downloadFinished()
if (!zip)
::close(duppedfd);
#else
struct zip *zip = zip_open(zipFile.fileName(), 0, &errorcode);
struct zip *zip = zip_open(zipFile.fileName().toLocal8Bit().data(), 0, &errorcode);
#endif
if (!zip) {
char buf[512];