Replaced all Qt foreach loops with modern C++ range-based loops. (#277)
This commit is contained in:
+1
-1
@@ -36,7 +36,7 @@ namespace glabels
|
||||
|
||||
DataCache::DataCache( const QList<ModelObject*>& objects )
|
||||
{
|
||||
foreach( ModelObject* object, objects )
|
||||
for ( ModelObject* object : objects )
|
||||
{
|
||||
if ( auto* imageObject = dynamic_cast<ModelImageObject*>(object) )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user