summaryrefslogtreecommitdiff
path: root/rbutil/rbutilqt/quazip/quazipfileinfo.cpp
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2020-07-27 21:16:31 +0200
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2020-08-06 20:50:52 +0200
commitfeb028ac37ddd2db0408328d65154e5110bf331d (patch)
tree65fba6d186de766682c4e6d1546f7bc0ecc7debf /rbutil/rbutilqt/quazip/quazipfileinfo.cpp
parent7c5b9a4049b76ebe1e08594e8a1843ee9f225fe5 (diff)
downloadrockbox-feb028ac37ddd2db0408328d65154e5110bf331d.tar.gz
rockbox-feb028ac37ddd2db0408328d65154e5110bf331d.zip
rbutil: Fix deprecation warnings.
Change-Id: Ia7e24a5fee2b6e858abcec318d13775ad23b4469
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.
26 26
27static QFile::Permissions permissionsFromExternalAttr(quint32 externalAttr) { 27static QFile::Permissions permissionsFromExternalAttr(quint32 externalAttr) {
28 quint32 uPerm = (externalAttr & 0xFFFF0000u) >> 16; 28 quint32 uPerm = (externalAttr & 0xFFFF0000u) >> 16;
29 QFile::Permissions perm = 0; 29 QFile::Permissions perm = QFile::Permissions();
30 if ((uPerm & 0400) != 0) 30 if ((uPerm & 0400) != 0)
31 perm |= QFile::ReadOwner; 31 perm |= QFile::ReadOwner;
32 if ((uPerm & 0200) != 0) 32 if ((uPerm & 0200) != 0)