mirror of
https://github.com/LMMS/lmms.git
synced 2026-03-21 07:23:19 -04:00
DrumSynth relicense, MDI fixes, QPushButton inheritance, LiveTool fixes
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@604 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -485,7 +485,7 @@ f_cnt_t sampleBuffer::decodeSampleOGGVorbis( const char * _f,
|
||||
f_cnt_t frames = 0;
|
||||
|
||||
QFile * f = new QFile( _f );
|
||||
if( f->open( QFile::ReadOnly | QFile::Truncate ) == FALSE )
|
||||
if( f->open( QFile::ReadOnly ) == FALSE )
|
||||
{
|
||||
delete f;
|
||||
return( 0 );
|
||||
|
||||
Reference in New Issue
Block a user