Browse Source

Tweak requirements for filebrowser dialog on macOS

Signed-off-by: falkTX <falktx@falktx.com>
pull/321/head
falkTX 1 year ago
parent
commit
38dad9fdfd
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      distrho/extra/FileBrowserDialogImpl.cpp

+ 2
- 1
distrho/extra/FileBrowserDialogImpl.cpp View File

@@ -321,8 +321,9 @@ FileBrowserHandle fileBrowserCreate(const bool isEmbed,
ScopedPointer<FileBrowserData> handle(new FileBrowserData(options.saving));

#ifdef DISTRHO_OS_MAC
# if MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_8
# if MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_8
// unsupported
d_stderr2("fileBrowserCreate is unsupported on macos < 10.8");
return nullptr;
# else
NSSavePanel* const nsBasePanel = handle->nsBasePanel;


Loading…
Cancel
Save