diff options
authorElvis Angelaccio <[email protected]>2015-12-08 11:37:24 +0100
committerElvis Angelaccio <[email protected]>2015-12-08 11:44:18 +0100
commit4e4f6c7c6362cc68348392ed20b82ae8fe52244b (patch)
parentfa467314a39d596ab7bd785ced637f599c4055ba (diff)
Show correct uncompressed size of huge zipped files
The clizip plugin was converting the entries' original size from string to int, but that was not enough for huge files whose size does not fit into an int. We already convert this value to qulonglong in ArchiveModel, so there is no need to do this conversion also at the plugin level. BUG: 355969 FIXED-IN: 15.12.0
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/clizipplugin/cliplugin.cpp b/plugins/clizipplugin/cliplugin.cpp
index 0f33244..5f1f8b1 100644
--- a/plugins/clizipplugin/cliplugin.cpp
+++ b/plugins/clizipplugin/cliplugin.cpp
@@ -161,7 +161,7 @@ bool CliPlugin::readListLine(const QString &line)
// ending with '/' is actually more reliable than 'd' bein in the attributes.
e[IsDirectory] = rxMatch.captured(10).endsWith(QLatin1Char('/'));
- e[Size] = rxMatch.captured(4).toInt();
+ e[Size] = rxMatch.captured(4);
QString status = rxMatch.captured(5);
if (status[0].isUpper()) {
e[IsPasswordProtected] = true;