1
0
Fork 0
forked from len0rd/rockbox

Silence current file debug output of RbUnzip.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20434 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dominik Riebeling 2009-03-21 21:04:21 +00:00
parent e0eb79850d
commit e70f24c7d7

View file

@ -24,13 +24,13 @@
//! @brief extract archive to destination //! @brief extract archive to destination
UnZip::ErrorCode RbUnZip::extractArchive(const QString& dest) UnZip::ErrorCode RbUnZip::extractArchive(const QString& dest)
{ {
qDebug() << "[UNZIP] extracting archive to" << dest;
QStringList files = this->fileList(); QStringList files = this->fileList();
UnZip::ErrorCode error = Ok; UnZip::ErrorCode error = Ok;
m_abortunzip = false; m_abortunzip = false;
int total = files.size(); int total = files.size();
for(int i = 0; i < total; i++) { for(int i = 0; i < total; i++) {
qDebug() << __func__ << files.at(i);
error = this->extractFile(files.at(i), dest, UnZip::ExtractPaths); error = this->extractFile(files.at(i), dest, UnZip::ExtractPaths);
emit unzipProgress(i + 1, total); emit unzipProgress(i + 1, total);
QCoreApplication::processEvents(); // update UI QCoreApplication::processEvents(); // update UI