summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/quazip/quazipfileinfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/rbutilqt/quazip/quazipfileinfo.cpp')
-rw-r--r--rbutil/rbutilqt/quazip/quazipfileinfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/rbutil/rbutilqt/quazip/quazipfileinfo.cpp b/rbutil/rbutilqt/quazip/quazipfileinfo.cpp
index f11c91017c..1961f116b3 100644
--- a/rbutil/rbutilqt/quazip/quazipfileinfo.cpp
+++ b/rbutil/rbutilqt/quazip/quazipfileinfo.cpp
@@ -26,7 +26,7 @@ see quazip/(un)zip.h files for details. Basically it's the zlib license.
static QFile::Permissions permissionsFromExternalAttr(quint32 externalAttr) {
quint32 uPerm = (externalAttr & 0xFFFF0000u) >> 16;
- QFile::Permissions perm = 0;
+ QFile::Permissions perm = QFile::Permissions();
if ((uPerm & 0400) != 0)
perm |= QFile::ReadOwner;
if ((uPerm & 0200) != 0)