Corrected assignment (#4757)

There is no need in conversion from float to integer
This commit is contained in:
Pavel Shlyak
2019-01-07 06:30:27 +04:00
committed by Tres Finocchiaro
parent a0ace860f4
commit c467f5b08a

View File

@@ -3269,7 +3269,7 @@ void PianoRoll::wheelEvent(QWheelEvent * we )
}
if( nv.size() > 0 )
{
const int step = we->delta() > 0 ? 1.0 : -1.0;
const int step = we->delta() > 0 ? 1 : -1;
if( m_noteEditMode == NoteEditVolume )
{
for ( Note * n : nv )