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:
parent
5b32ef4897
commit
4fcedf7be5
53 changed files with 138 additions and 138 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue