Commit e05ba37a authored by dt's avatar dt
Browse files

Show files added to INSTALL / DEPLOYMENT

parent b160c8a0
......@@ -557,21 +557,31 @@ void Qt4PriFileNode::update(ProFile *includeFileExact, ProFileReader *readerExac
folders[i] = projectDir + "/" + folders.at(i);
}
m_recursiveEnumerateFiles.clear();
// Remove non existing items and non folders
// todo fix files in INSTALL rules
QStringList::iterator it = folders.begin();
while (it != folders.end()) {
QFileInfo fi(*it);
if (!fi.exists() || !fi.isDir())
if (fi.exists()) {
if (fi.isDir()) {
// keep directories
++it;
} else {
// move files directly to m_recursiveEnumerateFiles
m_recursiveEnumerateFiles << *it;
it = folders.erase(it);
}
} else {
// do remove non exsting stuff
it = folders.erase(it);
else
++it;
}
}
folders.removeDuplicates();
watchFolders(folders.toSet());
m_recursiveEnumerateFiles.clear();
foreach (const QString &folder, folders) {
m_recursiveEnumerateFiles += recursiveEnumerate(folder);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment