diff --git a/plugins/Cardinal/src/MPV.cpp b/plugins/Cardinal/src/MPV.cpp index f0a4b72..df29019 100644 --- a/plugins/Cardinal/src/MPV.cpp +++ b/plugins/Cardinal/src/MPV.cpp @@ -168,7 +168,7 @@ struct CardinalEmbedWidget : ModuleWidget, ExternalWindow { self->terminateAndWaitForExternalProcess(); WeakPtr 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) return; diff --git a/src/CardinalCommon.cpp b/src/CardinalCommon.cpp index 208f55e..29d5f4b 100644 --- a/src/CardinalCommon.cpp +++ b/src/CardinalCommon.cpp @@ -66,7 +66,7 @@ int rateLimit = 0; bool isStandalone() { - return std::strstr(getPluginFormatName(), "JACK") != nullptr; + return std::strstr(getPluginFormatName(), "Standalone") != nullptr; } #ifdef ARCH_WIN