1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-28 02:30:05 +00:00

Standardised some lambda syntax

This commit is contained in:
jules 2018-01-08 10:28:41 +00:00
parent 5b32ef4897
commit 4fcedf7be5
53 changed files with 138 additions and 138 deletions

View file

@ -93,7 +93,7 @@ FileBrowserComponent::FileBrowserComponent (int flags_,
addAndMakeVisible (currentPathBox);
currentPathBox.setEditableText (true);
resetRecentPaths();
currentPathBox.onChange = [this]() { updateSelectedPath(); };
currentPathBox.onChange = [this] { updateSelectedPath(); };
addAndMakeVisible (filenameBox);
filenameBox.setMultiLine (false);
@ -106,7 +106,7 @@ FileBrowserComponent::FileBrowserComponent (int flags_,
fileLabel.attachToComponent (&filenameBox, true);
addAndMakeVisible (goUpButton = getLookAndFeel().createFileBrowserGoUpButton());
goUpButton->onClick = [this]() { goUp(); };
goUpButton->onClick = [this] { goUp(); };
goUpButton->setTooltip (TRANS ("Go up to parent directory"));
if (previewComp != nullptr)