Merge pull request #2273 from michaelgregorius/2272-template-fixes

Fixes #2272 and other problems with the templates
This commit is contained in:
Colin Wallace
2015-08-26 17:16:38 +00:00
3 changed files with 52 additions and 24 deletions

View File

@@ -120,6 +120,11 @@ public:
return dataDir() + PROJECTS_PATH;
}
QString factoryTemplatesDir() const
{
return factoryProjectsDir() + TEMPLATE_PATH;
}
QString factoryPresetsDir() const
{
return dataDir() + PRESETS_PATH;

View File

@@ -113,6 +113,7 @@ public slots:
bool saveProject();
bool saveProjectAs();
bool saveProjectAsNewVersion();
void saveProjectAsDefaultTemplate();
void showSettingsDialog();
void aboutLMMS();
void help();