From 662e642ac9f650ccafda75d53ff54ff587b3d97c Mon Sep 17 00:00:00 2001 From: "Lubomir I. Ivanov" Date: Wed, 4 Dec 2013 22:14:51 +0200 Subject: [PATCH] Webservices: fix QString argument for zip_open() Signed-off-by: Lubomir I. Ivanov Signed-off-by: Thiago Macieira --- qt-ui/subsurfacewebservices.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt-ui/subsurfacewebservices.cpp b/qt-ui/subsurfacewebservices.cpp index 6a6da1853..69dd7e1cd 100644 --- a/qt-ui/subsurfacewebservices.cpp +++ b/qt-ui/subsurfacewebservices.cpp @@ -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];