OSDN Git Service
(root)
/
kde
/
Katie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4b64a5
)
correct QFileInfoPrivate::getCachedFlag() return value
author
Ivailo Monev
<xakepa10@laimg.moc>
Sat, 28 Dec 2019 18:28:45 +0000
(18:28 +0000)
committer
Ivailo Monev
<xakepa10@laimg.moc>
Sat, 28 Dec 2019 18:28:45 +0000
(18:28 +0000)
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
src/core/io/qfileinfo_p.h
patch
|
blob
|
history
diff --git
a/src/core/io/qfileinfo_p.h
b/src/core/io/qfileinfo_p.h
index
3ebbd68
..
b35e529
100644
(file)
--- a/
src/core/io/qfileinfo_p.h
+++ b/
src/core/io/qfileinfo_p.h
@@
-143,7
+143,7
@@
public:
mutable qint64 fileSize;
mutable QDateTime fileTimes[3];
inline bool getCachedFlag(uint c) const
- { return cache_enabled ? (cachedFlags & c) :
0
; }
+ { return cache_enabled ? (cachedFlags & c) :
false
; }
inline void setCachedFlag(uint c) const
{ if (cache_enabled) cachedFlags |= c; }