Fix minor bug and compile time warnings

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1082 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Paul Giblock
2008-06-06 08:55:59 +00:00
parent e29bf1d655
commit f003b34791
7 changed files with 18 additions and 12 deletions

View File

@@ -285,10 +285,10 @@ private:
float m_step;
float m_range;
// most objects will need this temporarily
// most objects will need this temporarily (until sampleExact is standard)
float m_oldValue;
bool m_journalEntryReady;
QString m_displayName;
bool m_journalEntryReady;
typedef QVector<automatableModel *> autoModelVector;
autoModelVector m_linkedModels;

View File

@@ -448,7 +448,7 @@ namespace effectLib
// Lou's Hack
void setWideCoeff( const float _wideCoeff )
{
m_wideCoeff = _wideCoeff;
m_wideCoeff = static_cast<int>( _wideCoeff );
}
int getWideCoeff()