"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/core/Song.cpp" between
lmms_1.2.0.tar.xz and lmms_1.2.1.tar.xz

About: LMMS (Linux MultiMedia Studio) is a sound generation system (creation of melodies and beats, synthesis and mixing of sounds, arranging of samples; full MIDI support).

Song.cpp  (lmms_1.2.0.tar.xz):Song.cpp  (lmms_1.2.1.tar.xz)
skipping to change at line 1305 skipping to change at line 1305
if ( !multiExport ) if ( !multiExport )
{ {
int stx = efd.selectedNameFilter().indexOf( "(*." ); int stx = efd.selectedNameFilter().indexOf( "(*." );
int etx = efd.selectedNameFilter().indexOf( ")" ); int etx = efd.selectedNameFilter().indexOf( ")" );
if ( stx > 0 && etx > stx ) if ( stx > 0 && etx > stx )
{ {
// Get first extension from selected dropdown. // Get first extension from selected dropdown.
// i.e. ".wav" from "WAV-File (*.wav), Dummy-File (*.dum)" // i.e. ".wav" from "WAV-File (*.wav), Dummy-File (*.dum)"
suffix = efd.selectedNameFilter().mid( stx + 2, e tx - stx - 2 ).split( " " )[0].trimmed(); suffix = efd.selectedNameFilter().mid( stx + 2, e tx - stx - 2 ).split( " " )[0].trimmed();
exportFileName.remove( "." + suffix, Qt::CaseInse
nsitive ); Qt::CaseSensitivity cs = Qt::CaseSensitive;
#if defined(LMMS_BUILD_APPLE) || defined(LMMS_BUILD_WIN32)
cs = Qt::CaseInsensitive;
#endif
exportFileName.remove( "." + suffix, cs );
if ( efd.selectedFiles()[0].endsWith( suffix ) ) if ( efd.selectedFiles()[0].endsWith( suffix ) )
{ {
if( VersionedSaveDialog::fileExistsQuery( exportFileName + suffix, if( VersionedSaveDialog::fileExistsQuery( exportFileName + suffix,
tr( "Save project" ) ) ) tr( "Save project" ) ) )
{ {
exportFileName += suffix; exportFileName += suffix;
} }
} }
} }
} }
 End of changes. 1 change blocks. 
2 lines changed or deleted 6 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)