1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

A few more internal updates for better smart pointer use

This commit is contained in:
jules 2019-05-19 11:44:22 +01:00
parent 49fa0f73e4
commit c6d1828a32
8 changed files with 39 additions and 50 deletions

View file

@ -153,13 +153,9 @@ StringArray AppearanceSettings::getColourNames() const
{
StringArray s;
for (int i = 0; i < settings.getNumChildren(); ++i)
{
const ValueTree c (settings.getChild(i));
for (auto c : settings)
if (c.hasType ("COLOUR"))
s.add (c [Ids::name]);
}
s.add (c[Ids::name]);
return s;
}