Remove duplicates from the working list.

This commit is contained in:
Roberto Raggi
2009-10-27 12:31:49 +01:00
parent 65e13b7034
commit b7f3d924c3
2 changed files with 5 additions and 1 deletions

View File

@@ -127,6 +127,8 @@ static void find_helper(QFutureInterface<Usage> &future,
files += snapshot.dependsOn(sourceFile);
}
files.removeDuplicates();
//qDebug() << "done in:" << tm.elapsed() << "number of files to parse:" << files.size();
future.setProgressRange(0, files.size());