mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-02 03:20:06 +00:00
Minor clean-ups.
This commit is contained in:
parent
ddb6b969ea
commit
e543949bda
28 changed files with 109 additions and 117 deletions
|
|
@ -517,16 +517,16 @@ String Project::Item::getFilePath() const
|
|||
{
|
||||
if (isFile())
|
||||
return state [Ids::file].toString();
|
||||
else
|
||||
return String::empty;
|
||||
|
||||
return String::empty;
|
||||
}
|
||||
|
||||
File Project::Item::getFile() const
|
||||
{
|
||||
if (isFile())
|
||||
return project.resolveFilename (state [Ids::file].toString());
|
||||
else
|
||||
return File::nonexistent;
|
||||
|
||||
return File::nonexistent;
|
||||
}
|
||||
|
||||
void Project::Item::setFile (const File& file)
|
||||
|
|
@ -675,8 +675,8 @@ struct ItemSorterWithGroupsAtStart
|
|||
|
||||
if (firstIsGroup == secondIsGroup)
|
||||
return first [Ids::name].toString().compareIgnoreCase (second [Ids::name].toString());
|
||||
else
|
||||
return firstIsGroup ? -1 : 1;
|
||||
|
||||
return firstIsGroup ? -1 : 1;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue