ConfigManager - add #ifdef LMMS_HAVE_FLUIDSYNTH

Fixed compliation bug for those who don't have
fluidsynth installed
This commit is contained in:
Andrew Kelley
2009-07-16 11:21:00 -07:00
parent 2b660e3756
commit d85d8b73d0
3 changed files with 9 additions and 0 deletions

View File

@@ -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
}

View File

@@ -239,3 +239,4 @@ dummyTrackContainer::dummyTrackContainer( void ) :
#include "moc_track_container.cxx"
/* vim: set tw=0 noexpandtab: */

View File

@@ -496,3 +496,5 @@ bool songEditor::allowRubberband( void ) const
#endif
/* vim: set tw=0 noexpandtab: */