Browse Source

Partially fix carla-bridges build

tags/v0.9.0
falkTX 13 years ago
parent
commit
ecd5333008
2 changed files with 5 additions and 1 deletions
  1. +4
    -0
      c++/carla-backend/lv2.cpp
  2. +1
    -1
      c++/carla-bridge/carla_bridge_plugin.cpp

+ 4
- 0
c++/carla-backend/lv2.cpp View File

@@ -1201,7 +1201,11 @@ public:


void idleGui() void idleGui()
{ {
#ifdef BUILD_BRIDGE
const bool haveUI = (gui.type != GUI_EXTERNAL_OSC && ui.handle && ui.descriptor);
#else
const bool haveUI = (gui.type == GUI_EXTERNAL_OSC && osc.data.target) || (ui.handle && ui.descriptor); const bool haveUI = (gui.type == GUI_EXTERNAL_OSC && osc.data.target) || (ui.handle && ui.descriptor);
#endif


if (haveUI) if (haveUI)
{ {


+ 1
- 1
c++/carla-bridge/carla_bridge_plugin.cpp View File

@@ -540,7 +540,7 @@ public:
#endif #endif
} }


CarlaBackend::GuiDataHandle getWindowHandle() const
QDialog* getWindowHandle() const
{ {
return dialog; return dialog;
} }


Loading…
Cancel
Save