summaryrefslogtreecommitdiff
path: root/rbutil/rbutilqt/base/ziputil.cpp
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2013-03-11 18:57:11 +0100
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2013-11-04 23:00:23 +0100
commit6375c47f036a4992ecb4bc3023a0fedbdc2356e0 (patch)
treee882032544d8e6adcc8ecd19d69ba69aa0e11512 /rbutil/rbutilqt/base/ziputil.cpp
parent289acf3333cf76ffc689aff8a17340b299ce0686 (diff)
downloadrockbox-6375c47f036a4992ecb4bc3023a0fedbdc2356e0.tar.gz
rockbox-6375c47f036a4992ecb4bc3023a0fedbdc2356e0.zip
Add support for CAB archives to rbutil
Change-Id: Ia8b4953343caf8bc2b3c5a6cfd53c921c6d082b1 Reviewed-on: http://gerrit.rockbox.org/418 Reviewed-by: Dominik Riebeling <Dominik.Riebeling@gmail.com>
Diffstat (limited to 'rbutil/rbutilqt/base/ziputil.cpp')
-rw-r--r--rbutil/rbutilqt/base/ziputil.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/base/ziputil.cpp b/rbutil/rbutilqt/base/ziputil.cpp
index ca921eb708..b93d5fd86a 100644
--- a/rbutil/rbutilqt/base/ziputil.cpp
+++ b/rbutil/rbutilqt/base/ziputil.cpp
@@ -26,7 +26,7 @@
26#include "quazip/quazipfileinfo.h" 26#include "quazip/quazipfileinfo.h"
27 27
28 28
29ZipUtil::ZipUtil(QObject* parent) : QObject(parent) 29ZipUtil::ZipUtil(QObject* parent) : ArchiveUtil(parent)
30{ 30{
31 m_zip = NULL; 31 m_zip = NULL;
32} 32}
@@ -74,7 +74,7 @@ bool ZipUtil::close(void)
74//! single file. 74//! single file.
75//! @brief file file to extract from archive, full archive if empty. 75//! @brief file file to extract from archive, full archive if empty.
76//! @return true on success, false otherwise 76//! @return true on success, false otherwise
77bool ZipUtil::extractArchive(QString& dest, QString file) 77bool ZipUtil::extractArchive(const QString& dest, QString file)
78{ 78{
79 qDebug() << "[ZipUtil] extractArchive" << dest << file; 79 qDebug() << "[ZipUtil] extractArchive" << dest << file;
80 bool result = true; 80 bool result = true;