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
@@ -288,7 +288,7 @@ namespace glabels
QList<QColor> colorList = mColorHistory->getColors();
int id = 0;
foreach ( QColor color, colorList )
for ( QColor color : colorList )
{
mHistoryItem[id]->setColor( id, color, nameList[id] );
mHistoryItem[id]->setEnabled( true );