Commit 393ee851 authored by Milian Wolff's avatar Milian Wolff
Browse files

Also remove hidden files when pruning cmake directory

Otherwise we will let the .cmake folder linger around which is
undesirable. Prune really should wipe it all.
parent f04fc56c
......@@ -49,7 +49,7 @@ void PruneJob::start()
QDir d( builddir.toLocalFile() );
QList<QUrl> urls;
const auto entries = d.entryList( QDir::NoDotAndDotDot | QDir::AllEntries );
const auto entries = d.entryList(QDir::NoDotAndDotDot | QDir::AllEntries | QDir::Hidden);
urls.reserve(entries.size());
for (const auto& entry : entries) {
urls << Path(builddir, entry).toUrl();
......
Supports Markdown
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