added missing initialization of member-variables which made Mallets play nothing until GUI has been opened

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@985 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Tobias Doerffel
2008-05-18 14:19:18 +00:00
parent dd1db7d2b7
commit 02da5df799
2 changed files with 6 additions and 1 deletions

View File

@@ -1,5 +1,9 @@
2008-05-18 Tobias Doerffel <tobydox/at/users/dot/sourceforge/dot/net>
* plugins/stk/mallets/mallets.cpp:
added missing initialization of member-variables which made Mallets
play nothing until GUI has been opened
* include/bb_track.h:
* src/gui/widgets/combobox.cpp:
* src/gui/widgets/name_label.cpp:

View File

@@ -75,7 +75,8 @@ malletsInstrument::malletsInstrument( instrumentTrack * _instrument_track ):
m_velocityModel(64.0f, 0.0f, 128.0f, 0.1f, this),
m_strikeModel( FALSE, this ),
m_presetsModel(this),
m_spreadModel(0, 0, 255, 1, this)
m_spreadModel(0, 0, 255, 1, this),
m_filesMissing( FALSE )
{
m_hardnessModel.setTrack( _instrument_track );
m_positionModel.setTrack( _instrument_track );