From 786b10dcad3eeb2525355ed6a55c8c7acb68c9e7 Mon Sep 17 00:00:00 2001 From: Stefan Isak Date: Sat, 27 Jan 2024 17:48:56 +0100 Subject: [PATCH] Call next on iterator --- app/about.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/app/about.cpp b/app/about.cpp index a0f85b9..27f3704 100644 --- a/app/about.cpp +++ b/app/about.cpp @@ -34,6 +34,7 @@ About::About(QWidget* parent) : QDialog(parent), ui(new Ui::About) QDirIterator::NoIteratorFlags); while (licenseIterator.hasNext()) { + licenseIterator.next(); auto fileInfo = licenseIterator.fileInfo(); QFile licenseFile(fileInfo.absoluteFilePath()); if (licenseFile.open(QIODevice::ReadOnly))