mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-10 23:44:24 +00:00
Avoided an analyser warning on iOS
This commit is contained in:
parent
89dade2a00
commit
b6d78f882c
1 changed files with 6 additions and 4 deletions
|
|
@ -113,13 +113,15 @@ bool FileChooser::showDialog (const int flags, FilePreviewComponent* const previ
|
|||
}
|
||||
else
|
||||
{
|
||||
WildcardFileFilter wildcard (selectsFiles ? filters : String::empty,
|
||||
selectsDirectories ? "*" : String::empty,
|
||||
String::empty);
|
||||
ignoreUnused (selectMultiple);
|
||||
|
||||
WildcardFileFilter wildcard (selectsFiles ? filters : String(),
|
||||
selectsDirectories ? "*" : String(),
|
||||
String());
|
||||
|
||||
FileBrowserComponent browserComponent (flags, startingFile, &wildcard, previewComp);
|
||||
|
||||
FileChooserDialogBox box (title, String::empty,
|
||||
FileChooserDialogBox box (title, String(),
|
||||
browserComponent, warnAboutOverwrite,
|
||||
browserComponent.findColour (AlertWindow::backgroundColourId));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue