Browse Source

Fixup for previous changes

Signed-off-by: falkTX <falktx@falktx.com>
tags/22.07
falkTX 1 month ago
parent
commit
575fe6c8a1
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      plugins/Cardinal/src/MPV.cpp
  2. +1
    -1
      src/CardinalCommon.cpp

+ 1
- 1
plugins/Cardinal/src/MPV.cpp View File

@@ -168,7 +168,7 @@ struct CardinalEmbedWidget : ModuleWidget, ExternalWindow {
self->terminateAndWaitForExternalProcess();

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)
return;


+ 1
- 1
src/CardinalCommon.cpp View File

@@ -66,7 +66,7 @@ int rateLimit = 0;

bool isStandalone()
{
return std::strstr(getPluginFormatName(), "JACK") != nullptr;
return std::strstr(getPluginFormatName(), "Standalone") != nullptr;
}

#ifdef ARCH_WIN


Loading…
Cancel
Save