summaryrefslogtreecommitdiffstats
path: root/rbutil
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2008-04-06 19:07:53 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2008-04-06 19:07:53 +0000
commita0e6641c10955835821931b315950611595834de (patch)
tree1b8b2d18f43343bfcc1892381c49db0baa0f68eb /rbutil
parentc3969ed4c58d9c153bb95f6f70ad94dff1887495 (diff)
downloadrockbox-a0e6641c10955835821931b315950611595834de.tar.gz
rockbox-a0e6641c10955835821931b315950611595834de.tar.bz2
rockbox-a0e6641c10955835821931b315950611595834de.zip
progress indication should start at 1, not 0.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16994 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil')
-rw-r--r--rbutil/rbutilqt/rbunzip.cpp36
1 files changed, 18 insertions, 18 deletions
diff --git a/rbutil/rbutilqt/rbunzip.cpp b/rbutil/rbutilqt/rbunzip.cpp
index 85d175c63d..20ea0432b4 100644
--- a/rbutil/rbutilqt/rbunzip.cpp
+++ b/rbutil/rbutilqt/rbunzip.cpp
@@ -1,20 +1,20 @@
-/***************************************************************************
- * __________ __ ___.
- * Open \______ \ ____ ____ | | _\_ |__ _______ ___
- * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
- * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
- * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
- * \/ \/ \/ \/ \/
- *
- * Copyright (C) 2008 by Dominik Riebeling
- * $Id$
- *
- * All files in this archive are subject to the GNU General Public License.
- * See the file COPYING in the source tree root for full license agreement.
- *
- * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
- * KIND, either express or implied.
- *
+/***************************************************************************
+ * __________ __ ___.
+ * Open \______ \ ____ ____ | | _\_ |__ _______ ___
+ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
+ * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
+ * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
+ * \/ \/ \/ \/ \/
+ *
+ * Copyright (C) 2008 by Dominik Riebeling
+ * $Id$
+ *
+ * All files in this archive are subject to the GNU General Public License.
+ * See the file COPYING in the source tree root for full license agreement.
+ *
+ * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
+ * KIND, either express or implied.
+ *
****************************************************************************/
#include "rbunzip.h"
@@ -31,7 +31,7 @@ UnZip::ErrorCode RbUnZip::extractArchive(const QString& dest)
for(int i = 0; i < total; i++) {
qDebug() << __func__ << files.at(i);
error = this->extractFile(files.at(i), dest, UnZip::ExtractPaths);
- emit unzipProgress(i, total);
+ emit unzipProgress(i + 1, total);
QCoreApplication::processEvents(); // update UI
if(m_abortunzip)
error = SkipAll;