Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.0:Ports
lmms
lmms-carla.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File lmms-carla.patch of Package lmms
Index: lmms-1.1.3/plugins/carlabase/carla.cpp =================================================================== --- lmms-1.1.3.orig/plugins/carlabase/carla.cpp 2015-03-08 04:47:14.000000000 +0200 +++ lmms-1.1.3/plugins/carlabase/carla.cpp 2017-11-30 10:22:24.378470164 +0200 @@ -150,10 +150,11 @@ CarlaInstrument::CarlaInstrument(Instrum fHost.uiParentId = 0; // figure out prefix from dll filename - QString dllName(carla_get_library_filename()); + const QString dllName(carla_get_library_filename()); #if defined(CARLA_OS_LINUX) - fHost.resourceDir = strdup(QString(dllName.split("/lib/carla")[0] + "/share/carla/resources/").toUtf8().constData()); + const QString prefix(dllName.split("/lib")[0]); + fHost.resourceDir = strdup(QString(prefix + "/share/carla/resources/").toUtf8().constData()); #else fHost.resourceDir = NULL; #endif @@ -258,11 +259,15 @@ intptr_t CarlaInstrument::handleDispatch case NATIVE_HOST_OPCODE_RELOAD_PARAMETERS: case NATIVE_HOST_OPCODE_RELOAD_MIDI_PROGRAMS: case NATIVE_HOST_OPCODE_RELOAD_ALL: + case NATIVE_HOST_OPCODE_INTERNAL_PLUGIN: // nothing break; case NATIVE_HOST_OPCODE_UI_UNAVAILABLE: handleUiClosed(); break; + case NATIVE_HOST_OPCODE_HOST_IDLE: + qApp->processEvents(); + break; } return ret;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor