Browse Source
Fix build when DGL_FILE_BROWSER_DISABLED is defined (#293)
* Fix build with DGL_FILE_BROWSER_DISABLED
* Check for !DISTRHO_PLUGIN_HAS_EXTERNAL_UI too
pull/295/head
Patrick Desaulniers
GitHub
3 years ago
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
0 deletions
-
distrho/src/DistrhoUIPrivateData.hpp
|
|
@@ -152,7 +152,9 @@ struct UI::PrivateData { |
|
|
|
|
|
|
|
~PrivateData() noexcept |
|
|
|
{ |
|
|
|
#if !DISTRHO_PLUGIN_HAS_EXTERNAL_UI && !defined(DGL_FILE_BROWSER_DISABLED) |
|
|
|
std::free(uiStateFileKeyRequest); |
|
|
|
#endif |
|
|
|
} |
|
|
|
|
|
|
|
void editParamCallback(const uint32_t rindex, const bool started) |
|
|
|