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:
55dcf19
)
do not recurse into sub-directories from QStatInfo::dirInfos()
author
Ivailo Monev
<xakepa10@gmail.com>
Sun, 2 Jul 2023 06:47:06 +0000
(09:47 +0300)
committer
Ivailo Monev
<xakepa10@gmail.com>
Sun, 2 Jul 2023 06:47:06 +0000
(09:47 +0300)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
src/core/kernel/qcore_unix.cpp
patch
|
blob
|
history
diff --git
a/src/core/kernel/qcore_unix.cpp
b/src/core/kernel/qcore_unix.cpp
index
dd26221
..
c05fe49
100644
(file)
--- a/
src/core/kernel/qcore_unix.cpp
+++ b/
src/core/kernel/qcore_unix.cpp
@@
-144,11
+144,11
@@
QList<QStatInfo> QStatInfo::dirInfos(const QByteArray &nativepath, const QString
case DT_FIFO:
case DT_SOCK:
case DT_LNK:
- case DT_REG:
- case DT_DIR: {
+ case DT_REG: {
result.append(QStatInfo(fulllocal, false));
break;
}
+ case DT_DIR:
case DT_UNKNOWN:
default: {
break;