summaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2013-12-04 22:14:51 +0200
committerGravatar Thiago Macieira <thiago@macieira.org>2013-12-04 15:39:35 -0800
commit662e642ac9f650ccafda75d53ff54ff587b3d97c (patch)
treeeedae649cb0cff88b4f65d65eb181a982dd90877 /qt-ui
parenta1972bc3433d2e412147a6925787ffee66adcb4b (diff)
downloadsubsurface-662e642ac9f650ccafda75d53ff54ff587b3d97c.tar.gz
Webservices: fix QString argument for zip_open()
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Thiago Macieira <thiago@macieira.org>
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/subsurfacewebservices.cpp2
1 files changed, 1 insertions, 1 deletions
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];