Fixup for previous changes

Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
falkTX 2022-07-07 00:15:55 +01:00
parent b6522a0b66
commit 575fe6c8a1
No known key found for this signature in database
GPG key ID: CDBAA37ABC74FBA0
2 changed files with 2 additions and 2 deletions

View file

@ -168,7 +168,7 @@ struct CardinalEmbedWidget : ModuleWidget, ExternalWindow {
self->terminateAndWaitForExternalProcess(); self->terminateAndWaitForExternalProcess();
WeakPtr<CardinalEmbedWidget> const self = this->self; WeakPtr<CardinalEmbedWidget> const self = this->self;
async_dialog_filebrowser(false, nullptr, text.c_str(), [self](char* path) async_dialog_filebrowser(false, nullptr, nullptr, text.c_str(), [self](char* path)
{ {
if (path == nullptr) if (path == nullptr)
return; return;

View file

@ -66,7 +66,7 @@ int rateLimit = 0;
bool isStandalone() bool isStandalone()
{ {
return std::strstr(getPluginFormatName(), "JACK") != nullptr; return std::strstr(getPluginFormatName(), "Standalone") != nullptr;
} }
#ifdef ARCH_WIN #ifdef ARCH_WIN