diff --git a/ChangeLog b/ChangeLog index 51ba7b11a..5408a80ba 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2008-09-20 Tobias Doerffel + * src/core/config_mgr.cpp: + set default path if a path only contains of a dir-separator + * data/presets/CMakeLists.txt: fixed extension of presets diff --git a/src/core/config_mgr.cpp b/src/core/config_mgr.cpp index c6860326d..6896e6678 100644 --- a/src/core/config_mgr.cpp +++ b/src/core/config_mgr.cpp @@ -283,17 +283,17 @@ void configManager::loadConfigFile( void ) } - if( m_vstDir == "" ) + if( m_vstDir == "" || m_vstDir == QDir::separator() ) { m_vstDir = ensureTrailingSlash( QDir::home().absolutePath() ); } - if( m_flDir == "" ) + if( m_flDir == "" || m_flDir == QDir::separator() ) { m_flDir = ensureTrailingSlash( QDir::home().absolutePath() ); } - if( m_ladDir == "" ) + if( m_ladDir == "" || m_ladDir == QDir::separator() ) { #ifdef LMMS_BUILD_WIN32 m_ladDir = m_pluginDir + "ladspa" + QDir::separator();