Changeset View
Changeset View
Standalone View
Standalone View
src/file/filtereddiriterator.cpp
Show First 20 Lines • Show All 119 Lines • ▼ Show 20 Line(s) | 117 | if (m_config->folderInFolderList(path, folder)) { | |||
---|---|---|---|---|---|
120 | if (folder == path) | 120 | if (folder == path) | ||
121 | return true; | 121 | return true; | ||
122 | 122 | | |||
123 | // check for hidden folders | 123 | // check for hidden folders | ||
124 | QFileInfo fi(path); | 124 | QFileInfo fi(path); | ||
125 | if (!m_config->indexHiddenFilesAndFolders() && fi.isHidden()) | 125 | if (!m_config->indexHiddenFilesAndFolders() && fi.isHidden()) | ||
126 | return false; | 126 | return false; | ||
127 | 127 | | |||
128 | if (!fi.isExecutable()) { | ||||
129 | return false; | ||||
130 | } | ||||
131 | | ||||
128 | return m_config->shouldFileBeIndexed(fi.fileName()); | 132 | return m_config->shouldFileBeIndexed(fi.fileName()); | ||
129 | } | 133 | } | ||
130 | 134 | | |||
131 | return false; | 135 | return false; | ||
132 | } | 136 | } | ||
133 | 137 | |