mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
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:
parent
a1972bc343
commit
662e642ac9
1 changed files with 1 additions and 1 deletions
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue