mirror of
https://github.com/LMMS/lmms.git
synced 2026-05-17 11:18:30 -04:00
clang-tidy: Apply modernize-loop-convert everywhere (#6481)
Co-authored-by: allejok96 <allejok96@gmail.com> Co-authored-by: Dominic Clark <mrdomclark@gmail.com>
This commit is contained in:
@@ -533,9 +533,9 @@ bool DataFile::hasLocalPlugins(QDomElement parent /* = QDomElement()*/, bool fir
|
||||
bool skipNode = false;
|
||||
// Skip the nodes allowed to have "local:" attributes, but
|
||||
// still check its children
|
||||
for (auto it = ELEMENTS_WITH_RESOURCES.begin(); it != ELEMENTS_WITH_RESOURCES.end(); ++it)
|
||||
for (const auto& element : ELEMENTS_WITH_RESOURCES)
|
||||
{
|
||||
if (childElement.tagName() == it->first)
|
||||
if (childElement.tagName() == element.first)
|
||||
{
|
||||
skipNode = true;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user