Added a Gig directory to user lmms folder

Added option to set gig folder in setup dialog
Gig player now opens at this location
This commit is contained in:
Dave French
2015-03-06 18:56:15 +00:00
parent 8dfa2cf7d0
commit 2271af81c4
5 changed files with 68 additions and 2 deletions

View File

@@ -1069,7 +1069,7 @@ void GigInstrumentView::showFileDialog()
if( QFileInfo( f ).isRelative() )
{
f = ConfigManager::inst()->userSamplesDir() + f;
f = ConfigManager::inst()->gigDir() + f;
if( QFileInfo( f ).exists() == false )
{
@@ -1082,7 +1082,7 @@ void GigInstrumentView::showFileDialog()
}
else
{
ofd.setDirectory( ConfigManager::inst()->userSamplesDir() );
ofd.setDirectory( ConfigManager::inst()->gigDir() );
}
m_fileDialogButton->setEnabled( false );