diff options
Diffstat (limited to 'tools/qmllint/main.cpp')
-rw-r--r-- | tools/qmllint/main.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/qmllint/main.cpp b/tools/qmllint/main.cpp index a877b20335..428925c2e8 100644 --- a/tools/qmllint/main.cpp +++ b/tools/qmllint/main.cpp @@ -171,8 +171,10 @@ int main(int argv, char *argc[]) } else { // If none are given explicitly, use the qmltypes files from the current directory. QDirIterator it(".", {"*.qmltypes"}, QDir::Files); - while (it.hasNext()) + while (it.hasNext()) { + it.next(); qmltypesFiles.append(it.fileInfo().absoluteFilePath()); + } } #else |