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

Whitespace

This commit is contained in:
ed 2021-07-28 15:38:39 +01:00
parent 7ab0c9812a
commit c66e8baf7e
3 changed files with 8 additions and 8 deletions

View file

@ -3393,7 +3393,7 @@ private:
static String indentList (StringArray list, char openBracket, char closeBracket, const String& separator, int extraTabs, bool shouldSort)
{
auto content = [extraTabs, shouldSort, &list, &separator] () -> String
auto content = [extraTabs, shouldSort, &list, &separator]() -> String
{
if (list.isEmpty())
return "";

View file

@ -117,7 +117,7 @@ void ModalComponentManager::attachCallback (Component* component, Callback* call
for (int i = stack.size(); --i >= 0;)
{
auto* item = stack.getUnchecked(i);
auto* item = stack.getUnchecked (i);
if (item->component == component)
{
@ -133,7 +133,7 @@ void ModalComponentManager::endModal (Component* component)
{
for (int i = stack.size(); --i >= 0;)
{
auto* item = stack.getUnchecked(i);
auto* item = stack.getUnchecked (i);
if (item->component == component)
item->cancel();
@ -144,7 +144,7 @@ void ModalComponentManager::endModal (Component* component, int returnValue)
{
for (int i = stack.size(); --i >= 0;)
{
auto* item = stack.getUnchecked(i);
auto* item = stack.getUnchecked (i);
if (item->component == component)
{
@ -171,7 +171,7 @@ Component* ModalComponentManager::getModalComponent (int index) const
for (int i = stack.size(); --i >= 0;)
{
auto* item = stack.getUnchecked(i);
auto* item = stack.getUnchecked (i);
if (item->isActive)
if (n++ == index)
@ -199,7 +199,7 @@ void ModalComponentManager::handleAsyncUpdate()
{
for (int i = stack.size(); --i >= 0;)
{
auto* item = stack.getUnchecked(i);
auto* item = stack.getUnchecked (i);
if (! item->isActive)
{
@ -252,7 +252,7 @@ bool ModalComponentManager::cancelAllModalComponents()
auto numModal = getNumModalComponents();
for (int i = numModal; --i >= 0;)
if (auto* c = getModalComponent(i))
if (auto* c = getModalComponent (i))
c->exitModalState (0);
return numModal > 0;

View file

@ -190,7 +190,7 @@ public:
@see FileBrowserComponent::FileChooserFlags
*/
bool showDialog (int flags, FilePreviewComponent* previewComponent);
#endif
#endif
/** Use this method to launch the file browser window asynchronously.