mirror of
https://github.com/LMMS/lmms.git
synced 2026-04-04 14:23:27 -04:00
DataFile: renamed from old multimediaProject class + coding style fixes
This commit is contained in:
@@ -686,12 +686,11 @@ void MainWindow::createNewProjectFromTemplate( QAction * _idx )
|
||||
|
||||
|
||||
|
||||
void MainWindow::openProject( void )
|
||||
void MainWindow::openProject()
|
||||
{
|
||||
if( mayChangeProject() )
|
||||
{
|
||||
FileDialog ofd( this, tr( "Open project" ), "",
|
||||
tr( "MultiMedia Project (*.mmp *.mmpz *.xml)" ) );
|
||||
FileDialog ofd( this, tr( "Open project" ), "", tr( "LMMS (*.mmp *.mmpz)" ) );
|
||||
|
||||
ofd.setDirectory( configManager::inst()->userProjectsDir() );
|
||||
ofd.setFileMode( FileDialog::ExistingFiles );
|
||||
@@ -754,8 +753,8 @@ bool MainWindow::saveProject( void )
|
||||
bool MainWindow::saveProjectAs( void )
|
||||
{
|
||||
VersionedSaveDialog sfd( this, tr( "Save project" ), "",
|
||||
tr( "MultiMedia Project (*.mmp *.mmpz);;"
|
||||
"MultiMedia Project Template (*.mpt)" ) );
|
||||
tr( "LMMS Project (*.mmp *.mmpz);;"
|
||||
"LMMS Project Template (*.mpt)" ) );
|
||||
QString f = engine::getSong()->projectFileName();
|
||||
if( f != "" )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user