Browse Source

Whitespace

v6.1.6
ed 4 years ago
parent
commit
c66e8baf7e
3 changed files with 8 additions and 8 deletions
  1. +1
    -1
      extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_Xcode.h
  2. +6
    -6
      modules/juce_gui_basics/components/juce_ModalComponentManager.cpp
  3. +1
    -1
      modules/juce_gui_basics/filebrowser/juce_FileChooser.h

+ 1
- 1
extras/Projucer/Source/ProjectSaving/jucer_ProjectExport_Xcode.h 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 "";


+ 6
- 6
modules/juce_gui_basics/components/juce_ModalComponentManager.cpp 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;


+ 1
- 1
modules/juce_gui_basics/filebrowser/juce_FileChooser.h 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.


Loading…
Cancel
Save