mirror of
https://github.com/LMMS/lmms.git
synced 2026-03-10 10:10:02 -04:00
fixed compiler warnings
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1704 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
@@ -710,8 +710,8 @@ void sampleBuffer::visualize( QPainter & _p, const QRect & _dr,
|
||||
for( int frame = 0; frame < m_frames; frame += fpp )
|
||||
{
|
||||
l[n] = QPoint( xb + ( frame * w / m_frames ),
|
||||
yb - ( ( m_data[frame][0]+m_data[frame][1] ) *
|
||||
y_space ) );
|
||||
(int)( yb - ( ( m_data[frame][0]+m_data[frame][1] ) *
|
||||
y_space ) ) );
|
||||
++n;
|
||||
}
|
||||
_p.drawPolyline( l, m_frames / fpp );
|
||||
|
||||
Reference in New Issue
Block a user