summaryrefslogtreecommitdiff
path: root/rbutil
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil')
-rw-r--r--rbutil/rbutilqt/base/httpget.cpp2
-rw-r--r--rbutil/rbutilqt/quazip/quazipfileinfo.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/base/httpget.cpp b/rbutil/rbutilqt/base/httpget.cpp
index 1c879e728a..12429e5d17 100644
--- a/rbutil/rbutilqt/base/httpget.cpp
+++ b/rbutil/rbutilqt/base/httpget.cpp
@@ -51,7 +51,7 @@ void HttpGet::setCache(const QDir& d)
51{ 51{
52 if(m_cache && m_cachedir == d.absolutePath()) 52 if(m_cache && m_cachedir == d.absolutePath())
53 return; 53 return;
54 m_cachedir = d.absolutePath(); 54 m_cachedir.setPath(d.absolutePath());
55 setCache(true); 55 setCache(true);
56} 56}
57 57
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)