don't change the current project when auto-saving

every time auto-save ran, it would change the current project to
"recover.mmp". Now it doesn't do this because Song has
guiSaveProject(), guiSaveProjectAs(), and saveProjectFile().
(the latter is used for auto-save)
(cherry picked from commit 953522f34a)
This commit is contained in:
Andrew Kelley
2009-11-13 18:43:08 -07:00
committed by Tobias Doerffel
parent d75677b9d3
commit 7b7dc0bfb2
4 changed files with 22 additions and 15 deletions

View File

@@ -150,9 +150,10 @@ public:
// file management
void createNewProject();
void createNewProjectFromTemplate( const QString & _template );
void loadProject( const QString & _file_name );
bool saveProject();
bool saveProjectAs( const QString & _file_name );
void loadProject( const QString & _filename );
bool guiSaveProject();
bool guiSaveProjectAs( const QString & _filename );
bool saveProjectFile( const QString & _filename );
inline const QString & projectFileName() const
{
return m_fileName;