mirror of
https://github.com/LMMS/lmms.git
synced 2026-03-12 11:07:13 -04:00
ConfigManager - add #ifdef LMMS_HAVE_FLUIDSYNTH
Fixed compliation bug for those who don't have fluidsynth installed
This commit is contained in:
@@ -72,7 +72,9 @@ configManager::configManager( void ) :
|
||||
#endif
|
||||
m_vstDir( m_workingDir + "vst" + QDir::separator() ),
|
||||
m_flDir( QDir::home().absolutePath() ),
|
||||
#ifdef LMMS_HAVE_FLUIDSYNTH
|
||||
m_defaultSoundfont( NULL ),
|
||||
#endif
|
||||
m_lameLibrary( defaultLameLibrary() )
|
||||
{
|
||||
}
|
||||
@@ -82,7 +84,11 @@ configManager::configManager( void ) :
|
||||
|
||||
configManager::~configManager()
|
||||
{
|
||||
|
||||
#ifdef LMMS_HAVE_FLUIDSYNTH
|
||||
delete m_defaultSoundfont;
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -239,3 +239,4 @@ dummyTrackContainer::dummyTrackContainer( void ) :
|
||||
|
||||
#include "moc_track_container.cxx"
|
||||
|
||||
/* vim: set tw=0 noexpandtab: */
|
||||
|
||||
@@ -496,3 +496,5 @@ bool songEditor::allowRubberband( void ) const
|
||||
|
||||
|
||||
#endif
|
||||
|
||||
/* vim: set tw=0 noexpandtab: */
|
||||
|
||||
Reference in New Issue
Block a user