From 6a0952dc34aa8ff634e82d655ef92927e837708f Mon Sep 17 00:00:00 2001 From: Tres Finocchiaro Date: Wed, 30 Apr 2014 10:49:07 -0700 Subject: [PATCH] Add LADSPA default path for Apple --- src/core/config_mgr.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/core/config_mgr.cpp b/src/core/config_mgr.cpp index 1510f630a..51e61ac1d 100644 --- a/src/core/config_mgr.cpp +++ b/src/core/config_mgr.cpp @@ -344,8 +344,10 @@ void configManager::loadConfigFile() if( m_ladDir.isEmpty() || m_ladDir == QDir::separator() || ( !m_ladDir.contains( ':' ) && !QDir( m_ladDir ).exists() ) ) { -#ifdef LMMS_BUILD_WIN32 +#if defined(LMMS_BUILD_WIN32) m_ladDir = m_pluginDir + "ladspa" + QDir::separator(); +#elif defined(LMMS_BUILD_APPLE) + m_ladDir = qApp->applicationDirPath() + "/../lib/lmms/ladspa/"; #else m_ladDir = qApp->applicationDirPath() + '/' + LIB_DIR + "/ladspa/"; #endif