Skip to content

Commit

Permalink
Call next on iterator
Browse files Browse the repository at this point in the history
  • Loading branch information
sisakat committed Jan 27, 2024
1 parent c0adc2a commit 786b10d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/about.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 786b10d

Please sign in to comment.