From d80382180ef14d814eb9f6d7f2bf5db362f25cc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Mon, 4 Sep 2017 08:17:25 +0200 Subject: NOISSUE refactor pack import (extraction and paths) It now: * Doesn't extract until it knows the content format is good. * Extracts in a predictable location, not requiring to use a second path for the actual pack root. --- api/logic/MMCZip.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api/logic/MMCZip.h') diff --git a/api/logic/MMCZip.h b/api/logic/MMCZip.h index eac8d741..9e7dc4ac 100644 --- a/api/logic/MMCZip.h +++ b/api/logic/MMCZip.h @@ -44,7 +44,7 @@ namespace MMCZip * * \return the path prefix where the file is */ - QString MULTIMC_LOGIC_EXPORT findFileInZip(QuaZip * zip, const QString & what, const QString &root = QString()); + QString MULTIMC_LOGIC_EXPORT findFolderOfFileInZip(QuaZip * zip, const QString & what, const QString &root = QString("")); /** * Find a multiple files of the same name in archive by file name -- cgit v1.2.3