Replaced all Qt foreach loops with modern C++ range-based loops. (#277)

This commit is contained in:
Jaye Evins
2026-01-05 15:24:00 -05:00
committed by GitHub
parent 45a92eda89
commit 3cd173a37f
17 changed files with 79 additions and 82 deletions
+1 -1
View File
@@ -289,7 +289,7 @@ namespace glabels
///
void File::exit()
{
foreach ( QWidget* qwidget, QApplication::topLevelWidgets() )
for ( QWidget* qwidget : QApplication::topLevelWidgets() )
{
if ( auto* window = qobject_cast<MainWindow*>(qwidget) )
{