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:
parent
49fa0f73e4
commit
c6d1828a32
8 changed files with 39 additions and 50 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue